Solved

Jonathan Wants to Access the Last Style Sheet in the Object

Question 54

Multiple Choice

Jonathan wants to access the last style sheet in the object collection document.styleSheets . Which of the following syntaxes should he use to reference the last style sheet?


A) document.styleSheets [document.styleSheets.length+1]
B) document.styleSheets[length+1]
C) document.styleSheets [document.styleSheets.length-1]
D) document.styleSheets[length-1]

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions