Y
Hacker News
new
|
ask
|
show
|
jobs
by
bjkchoy
1355 days ago
I saw this "shortcut" used in code snippets, on online JS/CSS/HTML editors like JSFiddle. It did not even occur to me this was part of JS spec, I thought the editor was generating code behind my back!
1 comments
seba_dos1
1355 days ago
> It did not even occur to me this was part of JS spec,
It has nothing to do with JS spec; it's part of the DOM as defined by the HTML spec.
link
It has nothing to do with JS spec; it's part of the DOM as defined by the HTML spec.