Experienced, Creative, ambitious and enterprising software engineer. I primarily focus on modern JavaScript, more specifically React, its ecosystem and Node.js.
Thank you.
I do agree with your examples above. Thanks for providing the same.
I did want to cover mutation and more in depth but on the other hand, I just wanted to keep things simple.
Experienced, Creative, ambitious and enterprising software engineer. I primarily focus on modern JavaScript, more specifically React, its ecosystem and Node.js.
Good article and good uses cases for pad.
May I suggest a clearer example for
let
. While your example is correct, I think this really drives block scope context home:Also, regarding
const
(which is also blocked scoped),It should be noted that this only applies to the value assignment. Nested values are still mutable:
however, the value of a
const
cannot be changed:Thank you.
I do agree with your examples above. Thanks for providing the same.
I did want to cover mutation and more in depth but on the other hand, I just wanted to keep things simple.
Fair enough. It can be hard to keep things simple yet cover all the foundations :)
Thank you.