I am very impressed. What an excellent way to teach programming. Every student knew how to step through the call stack and set up the stack frames. I looked at the very first course, and sure enough, the instructors had students learning and going through this process. If this had been done in my JS course, I would not have had to come here. But I am glad I did.
@MehranMoalemi8 ай бұрын
these type of videos are super useful and amazing, there are few likes or views but I want you to know that you are amazing and we need this, keep working and good job. thank you for every thing.
@andrewbyun7687 Жыл бұрын
This was so helpful, thank you Codesmith team for recording and uploading this video
@hroman_codes Жыл бұрын
Great video explanation! Best one I have seen so far!
@yoyodadad Жыл бұрын
the guy is a legend
@jayeshthanvi1115 Жыл бұрын
can you explain with nested array and object
@Codesmith Жыл бұрын
Hey @jayeshthanvi1115! Recursion is often a great choice when handling nested arrays and objects because you don’t know ahead of time _how many levels_ of nesting there are! Also, you can think of nested arrays and objects as having a _recursive structure_ (i.e., an array containing arrays containing arrays, etc.) - a recursive function mirrors the recursive structure of the data 🤯
@cristiantech8701 Жыл бұрын
@codesmith if you run tail recursive exercise with param 15000 you'll get Maximum call stack size error. Could it be that I am doing something wrong?
@Codesmith Жыл бұрын
So, fun fact on this one - even though tail call recursion has been part of the JavaScript specification since ES6, the majority of browsers have chosen not to implement it. If you’re running these exercises in a browser console, that is likely why it’s not working!