How short can we write numbers in JavaScript without alphanumeric characters?

Without using any digits, letters or the identifier characters $ and _, how short can we write numbers in plain JavaScript?
Basics There are four ways to write the number 0 using only three…

Similar

How to Capitalize Strings in JavaScript

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 »