A table represents information in a grid format
th: table header tr :table row td : table feild or column
In constructor notation, we are creating an object by calling the constructor function with the new keyword.
-
The function can be used to create multiple objects. The this keyword is used instead of the object name.
-
- The keyword this is commonly used inside functions and objects. Where the function is declared alters what this means. It always refers to one object, usually the object in which the function operates.
-
- Arrays are a special type of objects. The typeof operator in JavaScript returns "object" for arrays. But, JavaScript arrays are best described as arrays.
-
-
Browsers come with a set of built-in objects that represent things like the browser window and the current web page shown in that window. These built-in objects act like a toolkit for creating interactive web pages.
-
1- The Browser Object Model (BOM)
-
is used to interact with the browser. The default object of browser is window means you can call all the functions of window by specifying window or directly. For example: window.alert("hello javatpoint"); is same as: alert("hello javatpoint");
-
2- DOM (Document Object Model) The W3C DOM standard is separated into 3 different parts:
- 1- Core DOM - standard model for all document types
- 2- XML DOM - standard model for XML documents
- 3- HTML DOM - standard model for HTML documents
-
3- The global JavaScript objects* represent things that the JavaScript language needs to create a model of. For example, there is an object that deals only with dates and times.
-
- The Math object's random() method generates a random number between 0 and 1 (with many decimal places).
- To get a random whole number between 1 and 10, you need to multiply the randomly generated number by 10.
-






