

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


E: the constant of E, the base of natural logarithms. LN2: The natural logarithm of 2. LOG2E: base 2 logarithm of E. PI: returns pi. SQRT1_2: square root of 1/2. SQRT2. sin(x). log(x). max. min. sqrt(x). random(). pow(a,b). abs(x): absolute value of x. ceil(x): returns the smallest integer greater than or equal to X.| floor(x).
length. toLowerCase(). toUpperCase(). toString(). split(string). concat(string).
substr(start, length): Returns the characters in a string beginning at the specified location through the specified numbers of characters. substring(start, end): returns the characters in a string between two indexes into the string. charAt(index): returns the character at the specified index in a string. charCodeAt(index): Returns a number indicating the Unicode value of the character at the given index in a string.
Date(). getDate(). getDay(). getFullYear(). getHours(). getMilliseconds(). getMinutes(). getMonth(). getSeconds(). getTime().
closed: returs a boolean value indicating whether a window has been closed or not. name: name of window parent: returns the parent window of the current window. blur(): removes focus from current window. close(): dialogue box with message, OK and CANCEL. focus(): sets focus to correct window.| open(). print(). prompt(). stop().