Type conversion must be handled in JavaScript.

Let's See
15 Feb 2019 About

Type conversion must be handled in JavaScript.

Finally, we have the HTML5 dataset API which returns a DOMStringMap object. You should note that data-attribute names are mapped by dropping the data- prefix, removing hyphens and converting to camelCase, e.g.