data-* attribute

data-* attribute

I am using the data-* attribute to give specific elements unique data

and am using the element.dataset.value syntax to read the values

when i try to read the values the data names are always lower case even if i used upper case in the html

so

<div id="a" data-User>

object = document.getElementById("a");

//DOES NOT WORK
object.dataset.User

//DOES WORK
object.dataset.user

why is this?