FrontendInterviews.dev

628. arguments Aliasing (Non-strict)

Easy•

Predict the output in non-strict mode.

function f(a) {
  arguments[0] = 10
  console.log(a)
}
f(1)

What is the correct output/behavior?

Select an option and submit your answer.
Next Problem