Finalsreviewer Itec102
Finalsreviewer Itec102
ARRAY DIRECTLY - An array that can be JOIN () - The methods used to combine the array
created using the new keyword, elements into the string and provides a new string.
ARRAY CONSTRUCTOR - An array that can be POP () - The methods that removes the last
element of an array.
created using the new keyword which passing
arguments in a constructor.
PUSH () -The methods used to add elements at the
end of the array.
NEW - A keyword that is used to create instance of
array
REVERSE () – used to reverse the sequence of the
given array of element.
0 (ZERO) - The first element in every array.
HTML DOM – Document Object Model – innerHTML Property – easiest way to get
constructed as a tree of Object. It is a world the content of an element. It is useful for
wide web consortium standard, it defines a getting and replacing the content.
standard for accessing documents.
JAVASCRIPT EVENTS – part of DOM
WWW DOM DIFF PARTS: level 3 and every HTML element contain a
CORE DOM – standard model for all set of events w/c can trigger Jvs code.
document types
XML DOM – smodel for XML Onclick – most frequently used event type
documents which occurs when a user clicks the left
HTML DOM – smodel for HTML button of his mouse.
docs.
ONSUBMIT – an event that occurs when
HTML DOM METHODS - actions that you try to submit a form.
you can perform on html elements
ONMOUSEOVER – event trigger when
HTML DOM PROPERTIES – values of you bring your mouse over any element
html elements
ONMOUSEOUT – triggers when you move
PROPERTY – value that you can get or set your mouse out from that element.
SIMULATION
Simulate the output of the following JavaScript code snippets.
Please follow this convention for those outputs that have next line.
Example:
Output:
1
2
3
var x = [1,2,4];
console.log(x);
Answer: [ 1, 3, 5 ]
Answer: [ 0,2,4,6,8,10,12,14,16,18 ]