3 ms·
JavaScript only supports pass by value, @ author: Nice quiz, I failed the last one, it would be nice to add more quizes and test users knowledge of function sco
by suyash 14y ago
JavaScript only supports pass by value, @ author: Nice quiz, I failed the last one, it would be nice to add more quizes and test users knowledge of function scoping, just like the commenter said, since functions can be passed around like objects, function scoping is another tricky one to master for beginners.
- japrescott 14y agonot true. boolean, strings, numbers (int, float) are passed by value, while Objects, Arrays and Functions are passed by reference!