Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
e111077
· 9y ago · 0 comments
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');
Comments
[–]
floatboth
9y ago
Exactly. I accidentally wrote "attributes" instead of "properties" :D