var x = function (){};
var x = function y(){};
console.log(y)//报错y未定义
function x() {};
var x = function (){};
x =new Function (){};
x = (x,y) => {x+y}
[图片上传失败...(image-87de9e-1513045645136)]
function f1(){};
f1.name;// f1
var f2 = function(){};
f2.name; //f2
var f3 = function f4(){};
f3.name; //f4
f5 = new Function (){};
f5.name; //anonymous
网友评论