Time to Operate
Strings and Comments
Functions
Shall I Compare?
Logically Operational
100

This operator is used to calculate the remainder of a division problem.

What is the modulo operator (mod or %)?
100

This is the name for these symbols.

/*  */

What is a block comment?

100

To introduce a function into your code.

What is declaring?

100

The preferred operator for checking is two values are different.

What is !== ?

100

These are the logical operators in JavaScript.

What is logical AND, logical OR, and logical NOT?
&&  ||  !

200

A shorthand way of writing both an operation and an assignment.

What is an augmented assignment?

200

To combine two or more strings into a longer string.

What is concatenate?

200

What we call a value that has been passed into a function.

What is an argument?

200

This operator checks if the value and data type of two variables are the same.

What is Triple Equals === ?
200

This data type means nothing.

What is null?

300

This is the shortest way to subtract 1 from a number.

What is the decrement operator (or --)?

300

The technical name for a new line.

What is a break return?

300

These symbols surround the body of a function.

What are braces { } ?

300

The result of this code.

if (false != 0) {
  console.log(true); }
else {
  console.log(false); }

What is false?

300

The output of this code.

let myFeeling = !'sure' || !!'confused';
console.log(myFeeling);

What is true?

400

These are the unique values you could get if you did a long series of integer operations that all ended in "modulo 7."

What are 0, 1, 2, 3, 4, 5, 6?

400

The line of code you would write to determine the number of characters in this string.

let myString = "Happy Birthday!";
let myLength;

What is myLength = myString.length; ?

400

This part of the function sends something back when the function is invoked.

What is the return statement?

400

The most common type of "this" statement in JavaScript is the "if" statement.

What is a conditional statement?
400

The output of this statement.

console.log(true && 1 && null && 'good');

What is null?

500

This is the Fancy Nancy name for Integer Division.

What is Euclidean Division?

500
The error message you would receive if you executed this line of code.


let myString = 'Here's my new toy!';

What is SyntaxError: Unexpected identifier?

500

The code you would write to introduce a function that would take a number and return that number multiplied by 5.

What is
function multFive(myNum) {
  return myNum * 5;
}

(Answers may vary.)

500

There are this many comparison operators in JavaScript.

What is 8?

500

The output of this code.

console.log('loyal' || 'kind' && 'honest' || false);

What is loyal?