访问的网址不受信任
https://babeljs.io/repl/#?experimental=false&evaluate=true&loose=false&spec=false&code=%2F%2F*******%20EcmaScript%206%3A%20rest%20parameter%20('...')%0Afunction%20restParamaterFunction%20(x%2C%20y%2C%20...a)%20%7B%0A%20%20%20%20return%20(x%20%2B%20y)%20*%20a.length%3B%0A%7D%0Aconsole.log(restParamaterFunction(1%2C%202%2C%20%22hello%22%2C%20true%2C%207))%3B%20%2F%2F%20outputs%209%3B%0A%0A%2F%2Fcode%20above%20is%20the%20same%20as%20ES5%3A%0Afunction%20restParamaterFunction2%20(x%2C%20y)%20%7B%0A%20%20%20%20var%20a%20%3D%20Array.prototype.slice.call(arguments%2C%202)%3B%0A%20%20%20%20return%20(x%20%2B%20y)%20*%20a.length%3B%0A%7D%3B%0Aconsole.log(restParamaterFunction2(1%2C%202%2C%20%22hello%22%2C%20true%2C%207))%3B
您访问的网址可能存在安全风险,我们建议您停止继续浏览该网址,以防财产损失