Y
Hacker News
new
|
ask
|
show
|
jobs
by
e111077
3379 days ago
I think that person is talking about the HTMLElement interface is essentially a JS object and how you can set properties on it. e.g.
element.foo = 123;
vs
element.setAttribute('foo', '123');
1 comments
floatboth
3378 days ago
Exactly. I accidentally wrote "attributes" instead of "properties" :D
link