Find a reference entry

JavaScript Functions / Methods

Collection of JavaScript Functions and Methods

Reference entries

Collection of JavaScript Functions and Methods

__COUNT__ entries on this page

JavaScript Number toFixed() MethodIn this article, we will learn about the number.toFixed() JavaScript method used to format the numbers via increasing or decreasing the decimal point notation.JavaScript Number toLocaleString() MethodIn this article, we will learn about the JavaScript number.toLocaleString() method, which we can use to format the number string according to a particular locale, which means regional language.JavaScript Number toPrecision() MethodThis article introduces the number.toPrecision() method that is used to format the number object to a particular precision.JavaScript Number toString() MethodThis article explains the number.toString() method that is used to convert the number value to string value.JavaScript Number valueOf() MethodThis article explains the number.valueOf() method that is used to get the actual value of the number object.JavaScript Number.isFinite() MethodThis article demonstrates the Number.isFininte() method, which is a built-in library method in JavaScript.JavaScript Number.isInteger() MethodThis article introduces the Number.isInteger() method from the JavaScript Number library, which is used to check whether the given value is an integer or not.JavaScript Number.isNaN() MethodThis article explains the Number.isNaN() method, the robust version of the global isNaN(), used to determine whether the number is a NaN or not.JavaScript Number.isSafeInteger() MethodThis article introduces the Number.isSafeInteger(), a JavaScript built-in Number library method used to check whether a numeric value is a safe integer or not.JavaScript Number.toExponential() MethodThis article explains the Number.toExponential(), JavaScript built-in library method used to get the exponential notation of the number value.JavaScript String.charCodeAt() MethodThe JavaScript string.charCodeAt() is a built-in function that returns the UTF-16 unit code of character at the given index of the string.JavaScript String.concat() MethodThe javaScript String concat() is a built-in function that concatenates the strings together and returns the concatenated string.JavaScript String.endsWith() MethodThe JavaScript endsWith() is a method which is used to determine whether a specified string is present at the end of a string or not with a boolean.JavaScript String.fromChar() MethodThe JavaScript String.fromCharCode() is a built-in function that returns the UTF-16 unit code of a character at the given index of the string.JavaScript string.includes() MethodThe JavaScript string.includes() method look into a string to check whether it exists or not and returns a boolean value based on the given string.JavaScript String.indexOf() MethodThe indexOf() method is a built-in JavaScript method that returns the first incidence of the string in the string calling the method.JavaScript String.lastIndexOf() MethodThe string.lastIndexOf() method looks into a string value to find the last event of it and returns the 0-based index position of the string if it founds otherwise returns -1.JavaScript String.localeCompare() MethodThe string.localeCompare() method compares two strings and returns a number based on the result.JavaScript String.match() MethodThe JavaScript string.match() method returns an array of matched strings against the regular expression.JavaScript String.repeat() MethodThis article introduces the string repeat() method, the built-in JavaScript string library method.JavaScript String.replace() MethodThe JavaScript string.replace() method returns a new string by replacing the old string with the new given one.JavaScript string.search() MethodJavaScript string search() method is built-in JavaScript method. It aids in searching for the first match between a regular expression and the given string.JavaScript string.slice() MethodThis article introduces the string.slice() method, the built-in JavaScript string library method.JavaScript string.split() MethodJavaScript string.split() method creates an array of a string that can be accessed as a substring. The method can be used in different ways. However, the `split()` method won't change the content in the original string.