Building objects in JavaScript.

Math : Math function in JavaScript from here you can take almost everything about math objects in JavaScript. Basically, Math objects have built-in properties and methods for dealing with mathematical calculations in javascript. it also has many other built-in functions of javascript. for example, the random function returns some random numerical values. String: It looks like we have a bunch of methods and properties here but as we know string is primitive types. primitive types don't have methods and properties only objects do have the same, so why we have this? this thing happens because in javascript we have two types of strings. 1) String primitives and 2) String Objects. when we use. (DOT) with string primitives, JavaScript internally covers this with string objects. we can't see that but we can work with the same. to see string object in more detail click me. from here you can see all properties and methods of String Object. let's see some...