2 ms·
You might want to consider including something about how passing objects between functions can be by reference or value for object oriented Javascript programmi
by droppedonjapan_ 14y ago
You might want to consider including something about how passing objects between functions can be by reference or value for object oriented Javascript programming.
- suyash 14y agoJavaScript 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!