124k views
12 votes
Which of the two attributes should have the name of javascript as its value?

User Greperror
by
4.2k points

1 Answer

14 votes
I’m extremely sorry if this doesn’t help but here’s what I found:


JavaScript objects have two types of properties: data properties and accessor properties.




I also found this:



attributes : a collection of objects that belong to a built-in Attr class, with name and value properties. HTML attributes have the following features: Their name is case-insensitive ( id is same as ID ). Their values are always strings.
User Muc
by
4.6k points