function a(){ console.log('123');
}function b(){ this.name = 'test';
}var test = new Funciton('return 1');上面這是那種形式,a,b,test那個是函數,那個是函數對象,我有點被概念迷惑了
js中的函數和函數對象是不是指的同一個東西?
守著星空守著你
2018-09-15 14:12:04