Day2:写出执行结果并解释原因

作者: Genzhen创建于 2020年6月22日更新于 2025年5月19日
javascript
function side(arr) {
  arr[0] = arr[2];
}
function a(a, b, c = 3) {
  c = 10;
  side(arguments);
  return a + b + c;
}
a(1, 1, 1);
// Write the execution result and explain the reason

内容来源: lgwebdream/FE-Interview