JavaScript Math Object

JavaScript Math Object In this JavaScript tutorial, you will learn about Math Object, usage, properties and methods of math object along with syntax and examples. Usage of Math Object: JavaScript Math object is used to perform mathematical tasks. But unlike the String and the Date object which requires defining the object, Math object need not be defined.  Math object in JavaScript has two main attributes: Properties Methods Properties of Math Object: The JavaScript has eight mathematical values and this can be accessed by using the Math Object. The eight mathematical… Read More

JavaScript Windows Object Properties Part II

JavaScript Windows Object Properties Part II In this JavaScript tutorial, you will learn about screenX, screenY, screenLeft and screenTop, top, length, frames, opener, parent and window property of Window object along with syntax and examples. screenX: This property screenX returns the x coordinate of the window relative to the user’s monitor screen. In other words this property namely ScreenX indicates in pixels the distance that the new window is placed from the left side of the screen horizontally. This property is a read onlywrite property. General syntax for using this… Read More