Topics

JavaScript

About this topic: Articles tagged __TAG__

Showing 944 articles

Topics

Articles

Showing 944 articles

Reference JavaScript String.endsWith() Method The 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. Reference JavaScript String.charCodeAt() Method The JavaScript string.charCodeAt() is a built-in function that returns the UTF-16 unit code of character at the given index of the string. Reference JavaScript String.valueOf() Method The string.valueOf() method is used to get the primitive value of a string object. Reference JavaScript String.trim() Method This article discusses the JavaScript string.trim() method to remove the white space from both ends of a string. Since the string.trim() method is created for a string, users … Reference JavaScript String.toString() Method Thexa0toString()xa0method, which is a part of the JavaScript string library, is described in this article. Reference JavaScript String.toLowerCase() Method This article explains about String.toLowerCase() method that creates a new string by changing the uppercase letters to lowercase. The original string's content remains unchanged … Reference JavaScript String.toLocaleUpperCase() Method This article explains about toLocaleUpperCase() method of JavaScript. String.toLocaleUpperCase() is a built-in method that converts the lowercase characters of a string to … Reference JavaScript string.toLocaleLowerCase() Method JavaScript string.toLocaleLowerCase() is a built-in method that converts a given string to lowercase based on the locale-specific case mappings. When multiple locales exist in an … Reference JavaScript String.substring() Method JavaScript string.substring() is a built-in method in JavaScript that is used to extract part of a string and create a substring. The string.substring() method returns an empty … Reference JavaScript String.substr() Method JavaScript string.substr() method extracts part of a string that can be used as a substring. This method can be used to define the starting and ending paragraphs of the new … Reference JavaScript String.replace() Method The JavaScript string.replace() method returns a new string by replacing the old string with the new given one. Reference JavaScript String.match() Method The JavaScript string.match() method returns an array of matched strings against the regular expression. Reference JavaScript String.localeCompare() Method The string.localeCompare() method compares two strings and returns a number based on the result. Reference JavaScript String.lastIndexOf() Method The 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. Reference JavaScript Array Every() Method This article explains the array.every() method of JavaScript. This method executes a JavaScript function to check whether a condition is true for every element within an array. The … Reference JavaScript Date.toISOString() Method In JavaScript, the date.toISOString() method can convert a date object into a string using the ISO standard. Reference JavaScript Array.unshift() Method This article demonstrates the Array.unshift() method is used to add new elements at the beginning of a given array. This method is also used to overwrite the original array in … Reference JavaScript Array.length Property This article explains array.length property that we can use to set or return the total number of items in a given array. Reference JavaScript Array.entries() Method This article explains the array.entries() method used to get a new Array iterator object containing a key and a value. The key and value are represented by the index number and the … Reference JavaScript String.fromChar() Method The 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. Reference JavaScript Date.toJSON() Method In JavaScript, the date.toJSON() method changes the date mentioned in a date object into a date and time of the ISO standard. Reference JavaScript Array.valueOf() Method In JavaScript, we use the array.valueOf() method to get the primitive value of a given array object. This method returns all the elements separated by commas. Reference JavaScript Array.toString() Method This article explains array.toString() method changes the given array into a string separated by commas. This method represents the array and its elements. Reference JavaScript Array.push() Method This article explains array.push() method adds the new elements at the end and changes the actual length of the array.

← All topics