To capitalize a string in Javascript so the first character is in uppercase, we donβt need to add another NPM dependency. We can use plain JavaScript or even CSS if it is solely for presentational purposes.
TLDR; const chars = 'hello' chars[0].toUpperCase... (more…)
Read more »
As the title states, JavaScript closures have always been a bit of a mystery to me. I have read multiple articles, I have used closures in my work, sometimes I even used a closure without realizing Iβ¦ (more…)
Read more »
5 best practices on how to write quality JavaScript variables: prefer const, minimize scope, close to use place, and more. (more…)
Read more »
Contribute to gongmw/js-example development by creating an account on GitHub. (more…)
Read more »
This is a JavaScript coding course for absolute beginners. Each lesson contains tons on practical examples! Advanced programmers can also have tons of fun wi... (more…)
Read more »