Section 1

Preview this deck

Array indexes start with what and end in what?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (30)

Section 1

(30 cards)

Array indexes start with what and end in what?

Front

0 and 1

Back

A JavaScript function is defined by

Front

the function keyword, followed by a name, followed by parentheses ().

Back

The reverse() method does what?

Front

reverses the elements in an array.

Back

In JavaScript, regular expressions are often used with the two string methods

Front

search() and replace()

Back

Logical operators are used to determine what?

Front

the logic between variables or values

Back

JavaScript also contains a conditional operator that assigns

Front

a value to a variable based on some condition

Back

debugging

Front

identify and remove errors from (computer hardware or software).

Back

what are some examples are some examples of HTML events

Front

An HTML web page has finished loading An HTML input field was changed An HTML button was clicked

Back

When embedding JavaScript within an html page, the code comes after which of these tags?

Front

script

Back

what are three kind of popup boxes in javascript

Front

Alert,Confirm,Prompt

Back

string

Front

A sequence of characters

Back

JavaScript supports different kinds of loops what are those loops?

Front

for,for/in,while,do while

Back

There are no built-in functions for finding the_____

Front

max or min

Back

what are some special characters in code?

Front

\' ' Single quote \" " Double quote \\ \ backslash

Back

array

Front

JavaScript arrays are used to store multiple values in a single variable.

Back

If the function was invoked from a statement

Front

will "return" to execute the code after the invoking statement.

Back

name the seven Arithmetic operators

Front

+ Addition - Subtraction * Multiplication / Division % Modulus (Remainder) ++ Increment -- Decrement

Back

what does The JavaScript method toString() do?

Front

converts an array to a string into array values

Back

what is popping and pushing?

Front

Popping items out of an array, or pushing items into an array.

Back

what does the command alert do?

Front

brings up a popup bar on top of screen

Back

You access an array element by referring to the?

Front

index number.

Back

In JavaScript there are two types of scopes

Front

Local scope Global scope

Back

Variables declared within a JavaScript function, become

Front

local to the function.

Back

what does Math.floor(Math.random() * 11); do?

Front

returns a random integer from 0 to 10

Back

The switch statement is used to....

Front

perform different actions based on different conditions.

Back

what is a array?

Front

a command can hold more than one value at a time

Back

how do you make a full array?

Front

by referring to the array name

Back

Is javascript case sensitive?

Front

yes

Back

When an error occurs, JavaScript will normally stop and generate an error message. The technical term for this is

Front

JavaScript will throw an exception (throw an error).

Back

what does Math.PI; do?

Front

you to perform mathematical tasks on numbers

Back