Yep. A simple 'use strict'; would have saved you.
'use strict';
We've all been there though. Typos or camel case used to get me sometimes, thankfully eslint (and typescript at times) negates about 99% of this sort of stuff.
I see what you are doing here. While you're point out the errors of my ways, you're avoiding sharing your own coding 🤦♂️.
Share your shame! (If you dare) :D
Can't think of a specific blunder lately, but I'll be sure to let you know when it happens 😂
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yep. A simple
'use strict';
would have saved you.We've all been there though. Typos or camel case used to get me sometimes, thankfully eslint (and typescript at times) negates about 99% of this sort of stuff.
I see what you are doing here. While you're point out the errors of my ways, you're avoiding sharing your own coding 🤦♂️.
Share your shame! (If you dare) :D
Can't think of a specific blunder lately, but I'll be sure to let you know when it happens 😂