var f = new Function('doSomething()'); () => { alert(1); }; var x = function() { alert(1); };