Thursday, 5 December 2013

Beginner JavaScript Course V3

 Argument

A variable that represents a value passed into a function or method.

Arithmetic Operator

One of several operators that perform arithmetic between variables or values. They include; +, -, *, /, %, ++, --

Array

An Object that represents a list of elements that are accessed by their position within the list. An Array also has built in properties and methods.

Assignment

Assigning a value to a variable or property.

Assignment Operator

One of several operators that assign a value to a variable. They include; =, +=, -=, *=, /=, %=

Booleans

Syntax

true
false

Example

expression1 && expression2
expression3 || expression4
!expression5 

Break

A statement that will cause immediate exit from a loop once it is encountered and normal flow of execution will continue with the statement immediately following the loop.

Case

Used in conjunction with a Switch statement, the "case" statement identifies a value for a conditional test against the switch parameter. When the switch parameter and case value are equal, the code following the case statement is executed.

Code Block

A grouped collection of statements that are meant to be executed together and most often denoted by surrounding curly braces.

Code comments

A comment is generally used within code to explain how something works or to write necessary information about a section. Comments are very useful to make code more readable

Syntax

Single Line Comment
// Comment comment comment

Multi-Line Comment
/*Comment1
  Comment2
  .
  .
  Comment3 */ 

Comparison Operator

One of several operators that determine the equality of two variables or values. They include; ==, ===, !-, !===, >, >=, <, <=

Conditional Test

A test for true or false, that is; testing for a certain condition.

Constant

A fixed value such as "this is constant" or the number 10.

Construct

An idea or theory construction of operators, keywords and variables.

Continue

When a "continue" statement is encountered in a loop, all remaining statements in the current loop iteration are skipped but looping will continue.

Do...While

A flow control mechanism that can be explained as:

Argument

A variable that represents a value passed into a function or method.

Arithmetic Operator

One of several operators that perform arithmetic between variables or values. They include; +, -, *, /, %, ++, --

Array

An Object that represents a list of elements that are accessed by their position within the list. An Array also has built in properties and methods.

Assignment

Assigning a value to a variable or property.

Assignment Operator

One of several operators that assign a value to a variable. They include; =, +=, -=, *=, /=, %=

Booleans

Syntax

true
false

Example

expression1 && expression2
expression3 || expression4
!expression5

Break

A statement that will cause immediate exit from a loop once it is encountered and normal flow of execution will continue with the statement immediately following the loop.

Case

Used in conjunction with a Switch statement, the "case" statement identifies a value for a conditional test against the switch parameter. When the switch parameter and case value are equal, the code following the case statement is executed.

Code Block

A grouped collection of statements that are meant to be executed together and most often denoted by surrounding curly braces.

Code comments

A comment is generally used within code to explain how something works or to write necessary information about a section. Comments are very useful to make code more readable.

Syntax

Single Line Comment
// Comment comment comment

Multi-Line Comment
/*Comment1
  Comment2
  .
  .
  Comment3 */

Comparison Operator

One of several operators that determine the equality of two variables or values. They include; ==, ===, !-, !===, >, >=, <, <=

Conditional Test

A test for true or false, that is; testing for a certain condition.

Constant

A fixed value such as "this is constant" or the number 10.

Construct

An idea or theory construction of operators, keywords and variables.

Continue

When a "continue" statement is encountered in a loop, all remaining statements in the current loop iteration are skipped but looping will continue.

Do...While

A flow control mechanism that can be explained as:
do {something} 
while(condition is true) 
"while", "do..while" and "for" can often accomplish the same loop result.

Element

This is a general reference to variables, objects, arrays and individual objects within objects and arrays.

Execute

Running a software program, single line of code, function a block of code or any unit of software.

Flow Control

The means by which the logic in a software program determines the flow of execution of the code.

For

A loop flow control mechanism that can be explained as:
for (i=n; condition is true; i++) 
   {do something}
"while", "do..while", and "for" can often accomplish the same loop result.
 
 

 

No comments:

Post a Comment