1.

How To Extending Built-in Objects In Javascript?

Answer»

JavaScript support BUILT-in objects which USE to develop the flexibility of JavaScript. The built in object are date, string, MATH, array and object. It's very similar to other languages and its available in the window content and WOK independently when brewers are loaded.

Example as give below
var date = new Date(); //This is date built-in object.
var math = Math.abs(10); // this is math built-in object.
var string = "my string" // this is string built-in object.

JavaScript support built-in objects which use to develop the flexibility of JavaScript. The built in object are date, string, math, array and object. It's very similar to other languages and its available in the window content and wok independently when brewers are loaded.

Example as give below
var date = new Date(); //This is date built-in object.
var math = Math.abs(10); // this is math built-in object.
var string = "my string" // this is string built-in object.



Discussion

No Comment Found