函数的一些东西

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; // f1var f2 = function(){}; f2.name; //f2var f3 = function f4(){}; f3.name; //f4f5 = new Function (){}; f5.name; //anonymous

    推荐阅读