What is “Tagged Template Literals”, or “Tagged Templates”?
Let’s take a look at a simplified version of MDN’s very confusing example .
Lets see some fact tables:
valueOf() method from
Object.prototype. But when we say
obj.valueOf(), what exactly do we mean, the value of an object?
There are multiple ways to churn out a string version of a variable. Take Arrays for example, there are 3:
But what’s the difference?
If the format of the JSON file is not strictly JSON, it would not work.
max_line_length in your
Don’t forget that
localStorage can only store string pairs. No number, object or boolean. Just plain old STRINGs.
It’s fine performing while data is not large. However with data as huge as all countries’ boundaries, GeoJSON freaks out and blocks the whole page.