how to tell a function arguments length in js JavaScript函数不对参数值(参数)执行任何检查 https://www.w3schools.com/js/js_function_parameters.asp // ES5 function functionName(parameter1, parameter2, parameter3) { // code to be executed } // ES6 const func = (paramet…