How to chain a method to a number literal
In JavaScript, you can
chain a method to a string literal.
Example using
.toLowerCase
method:
const sentence = "A cool sentence".toLowerCase();
console.log(sentence);
But this will not work with a number literal, example using .toString:
console.lo...
blog.ultirequiem.com1 min read
Requisalla
I build zoftware
Interesting, didn't know about this one!
console.log(458 .toString());