Function Constructor

I create my javascript function by two ways.

Function Declaration way

or by Function Expression way

but, there is another way by using Function Constructor


However, this way of defining the function is slow and keeps the function definition in string, hence unable to used properly by IDE or tools.

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply

Your email address will not be published. Required fields are marked *