Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 460 Bytes

File metadata and controls

10 lines (6 loc) · 460 Bytes

JavaScript Call By Value vs Call By Reference

Click the link to open index.html with a browser and open developer tools by pressing option+command+I (⌥+⌘+I).

This document explains how function parameters behave in JavaScript. JavaScript all function parameters are call by value.

Said that if the parameter type is an object (Object or Array) it's properties acts like call by reference.


Return to Index