This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
var myType = TrackDefault.type;
DOMString — one of
BCD tables only load in the browser