Filters
Question type

Study Flashcards

Identify the property that best matches the following style rules. -It is indicated by the - - symbol,which reduces the operand's value by 1.


A) window.alert(" ") ;
B) value.toPrecision(n)
C) collection[idref]
D) element.outerHTML
E) document.anchors
F) element.textContent
G) Decrement operator
H) Run-time error
I) value.toFixed(n)
J) parseInt(string)

Correct Answer

verifed

verified

Developers advocate that JavaScript be run in _____ in which all lapses in syntax result in load-time or run-time errors.


A) ​protect mode
B) ​private mode
C) ​safe mode
D) ​strict mode

Correct Answer

verifed

verified

Identify a statement that is added to the first line of the file to run a script in strict mode.


A) ​"use strict";
B) ​"mode strict";
C) ​use: strict
D) ​mode: strict

Correct Answer

verifed

verified

To break a text string into several lines,which means that the text string continues on the next line,the _____ character should be used.


A) ​forward slash
B) ​backslash
C) ​colon
D) ​semicolon

Correct Answer

verifed

verified

JavaScript comments can be entered on single or multiple lines.

Correct Answer

verifed

verified

A(n)_________ is an entity within the browser or web page that has properties that define it and methods that can be acted upon it.

Correct Answer

verifed

verified

Document objects are organized in hierarchical structures called the _________.

Correct Answer

verifed

verified

​document ...

View Answer

A _________ is a JavaScript command that is run after a specified amount of time has passed.

Correct Answer

verifed

verified

​time-dela...

View Answer

The script element can be placed anywhere within the HTML document.

Correct Answer

verifed

verified

Showing 81 - 89 of 89

Related Exams

Show Answer