Imran_Ahmed_Sprint-JS - #215
Conversation
frogr
left a comment
There was a problem hiding this comment.
Hey Imran, this is just a quick reiteration through this project to check answers.md for correctness + write any pressing notes that I needed to take from our meeting on Friday.
The most noteworthy thing in my opinion was your fantastic solution to checkMatchingLeaves. You really knocked that problem out of the park! I really admire your skills with JavaScript!
You seemed to REALLY understand the material and feel confident here! I approve of this work and it looks like you've got a great understanding moving forward. I hope DOM Manipulation isn't too rough for you! Let me know if there's anything I can do to help
| Arrays are objects with mutability, they are comma separated collection of data types, with heterogeneous data acceptance. They have special methods in Js, like length, push, pop, shift and unshift, slice, splice... | ||
|
|
||
|
|
||
| one special thing I found about array that they are called ***by reference*** in contrast to primitives(numbers). Meaning if we pass an array to a function and modify it, the original array will be mutated. Or in other words, we can say when we pass them we actually pass the memory address where they are located, so if the array is changed or modified, the original array is being modified. |
There was a problem hiding this comment.
very important to understand! and understanding memory & pointers will be a huge help in C, so kudos to you!
No description provided.