JavaScript – Number.isInteger() Method
The Number.isInteger() method returns true if a value is an integer of the datatype Number.
The Number.isInteger() method returns true if a value is an integer of the datatype Number.
The Number.isFinite() method returns true if the value is NaN (not a number), yet the type is a Number.
The Number.isFinite() method returns true if a number is a safe integer, and also of a Number data type.
The Number toExponential() method converts a number into exponential notation.
The Number toFixed() method converts a number to a string, while rounding the string to a specified number of decimals.
The Number toLocaleString() method returns a number as a string, using locale settings.
The Number toPrecision() method formats a number to a specified length, adding a decimal point and zeroes if necessary to achieve the length.
The Number valueOf() method returns the primitive value of a number.
The Object.keys() method returns an array iterator object with the keys of an object, without changing the original object.
The Object toString() method returns an object as a string or “[object Object]” if it cannot return a string.
The Object valueOf() method returns the primitive value of an object, or the object itself if it has no primitive.
The String charAt() method returns the character at a specified position in a string.
The String charAt() method returns the Unicode (UTF-16) of the character at a specified position in a string.
The String codePointAt() method returns the Unicode of the character at a specified position in a string.
The String concat() method joins two or more strings, returning a new string, without changing the existing strings.
The String endsWith() method returns true if a string ends with a specified string, if not, it returns false. The method is case sensitive.
The String.fromCharCode() method converts Unicode values to characters.
The String includes() method returns “true” if a string contains a specified string, if not, it returns “false”. The method is case sensitive.
The String indexOf() method returns the position of the first occurrence of a value in a string, and returns -1 if the value is not found.