Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140331

Is there a name for this construct and has it always been supported?

$
0
0

I am using this JavaScript construct:

new Function('return true;')();

I wonder if there is a name for it (calling the newly created Function object directly).

I checked the precedence and it's ok.

I also wonder if this code will work in old browsers?


Viewing all articles
Browse latest Browse all 140331

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>