Re:Airbnb JavaScript Style Guide
by orthoganol on Thursday July 02, 2015 @11:14PM
(#9823226)
> Assuming I'm not misunderstanding your question
Numbers are not passed by reference.
It's a lazy example, that has the potential to confuse. I would agree with the downvoters I'm being petty, but c'mon... it's the very first thing you read in your JavaScript guide & it's flawed.
Numbers are not passed by reference.
It's a lazy example, that has the potential to confuse. I would agree with the downvoters I'm being petty, but c'mon... it's the very first thing you read in your JavaScript guide & it's flawed.