### Does JavaScript pass by value or by reference?

#### Answer

JavaScript always passes by value. However, with objects, the value is a reference to the object.

#### Good to hear

* Difference between pass-by-value and pass-by-reference

##### Additional links

* [JavaScript Value vs Reference](https://medium.com/dailyjs/back-to-roots-javascript-value-vs-reference-8fb69d587a18)

<!-- tags: (javascript) -->

<!-- expertise: (1) -->
