Flashcards
Javascript
Cards in this deck (10)
- 1The JavaScript code is executed in the web browser by the browser’s JS engine. This code is referred to asClient side processing
- 2While loop syntaxwhile (condition){
code block to be
executed
} - 3Do/While Loop syntaxdo {
code to be executed
}
while(condition); - 4For loop syntaxfor(statement1; statment2; statement3)
{
code to be executed
} - 5For loop statement 1,2 and 3statement 1 is executed before the loop(code block ) starts
statement2 defines de condition for running the loop (the code block)
statement3 is executed each time after the loop(code block) has be executed - 6Uses of break statementThe break statement breaks the loop and continues executing the code after the loop (if any)
- 7Uses of continue statementThe continue statement breaks one iteration (in the loop), if a specified condition occurs, and continues with the next iteration in the loop.
- 8Condensed array examplevar animals=newArray("dog","cat");
- 9Literal array examplevar animals = ["dog","cat"]
- 10—
Information
- Description
- Computer Science Flashcards on Javascript, created by Esteban Guzman on 10/08/2017.
- Created by
- Esteban Guzman · Aug 2017
- Updated
- Apr 6, 2018
- Views
- 1
- Rating