标签:
function say(param){
console.log(‘hellow ‘+param)
}
var say = function(param){
console.log(‘hellow ‘+param)
}
say(‘world‘);
function say(param){
console.log(‘hellow‘+param)
}
//hellow world
say(‘world‘);
var say =function(param){
console.log(‘hellow ‘+param)
}
//Uncaught TypeError: say is not a function(…)
var say =function(param){
console.log(‘hellow ‘+param)
}
module.exports = {
say: say
}
标签:
原文地址:http://www.cnblogs.com/xiaojingyuan/p/5912030.html