JavaScript – Math.sqrt() Method
The Math.sqrt() method returns the square root of a number.
The Math.SQRT1_2 property returns the square root of 1/2, which is approximately 0.707.
The Math.SQRT2 property returns the square root of 2, which is approximately 1.414.
The Math.trunc() method returns the integer part of a number by removing everything after the decimal point. It does not round the number.
The navigator.appCodeName property returns the browser code name.
The navigator.appVersion property returns the browser version.
The navigator.geolocation property returns a geolocation object that can be used to locate the user’s position.
The navigator.cookieEnabled property returns “true” if browser cookies are enabled, and will return “false” if browser cookies are disabled.
The navigator.javaEnabled() method returns “true” if Java is enabled in the browser, and will return “false” if Java is disabled.
The navigator.language property returns the browser language.
The navigator.onLine property returns “true” if the browser is online, and “false” if it is offline.
The navigator.platform property returns the platform the browser is built to run on.
The navigator.product property returns the browser engine name.
The navigator.userAgent property returns the user-agent header sent by the browser to the server.
The Number constructor property returns the function that created the Number prototype.
The Number.isFinite() method returns true if a number is finite (not Infinity, -Infinity, or NaN).
The Number.isInteger() method returns true if a value is an integer of the datatype Number.