O'Reilly logo
  • Bob Massarczyk thinks this is interesting:

In JavaScript, function arguments are references to the actual data.

From

Cover of Learning React, 1st Edition

Note

No, only if those arguments are non-primitive data types like objects and arrays. Primitive data types like strings, numbers and boolean are copy by value, not reference.