ECMAScript不会实现函数重载,而会出现覆盖 例如: function addSomeNumber(num){ return num+100; } function addSomeNumber(num){ return num+200; } var result = addSomeNumber(100); console.log(result); //输出为300