Skip to content
RED SAGSkills
hard20 pts · first answer countsjavascriptfunctions

arguments inside an arrow function

What does this print?

function outer() {
  const inner = () => arguments[0]
  return inner("inner-arg")
}
console.log(outer("outer-arg"))
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions