Flashcards
Javascript
Flashcards do conjunto (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—
Informações
- Descrição
- Computer Science FlashCards sobre Javascript, criado por Esteban Guzman em 10-08-2017.
- Criado por
- Esteban Guzman · ago 2017
- Atualizado
- 6 abr 2018
- Visualizações
- 1
- Avaliação