Md. Niaz Rahman Khan
About MD Niaz Rahman Khan
Niaz is a professional full-stack developer as well as a thinker, problem-solver, and writer. He loves to share his experience with his writings.
api · 2023-01-30
JavaScript string.includes() Method
The 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.
api · 2023-01-30
JavaScript String.replace() Method
The JavaScript string.replace() method returns a new string by replacing the old string with the new given one.
api · 2023-01-30
JavaScript String.match() Method
The JavaScript string.match() method returns an array of matched strings against the regular expression.
api · 2023-01-30
JavaScript String.localeCompare() Method
The string.localeCompare() method compares two strings and returns a number based on the result.
api · 2023-01-30
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.
api · 2023-01-30
JavaScript Math.fround() Method
The Math.fround() method returns a single precision float of the given number in the nearest 32-bit.
api · 2023-01-30
JavaScript Math.asin() Method
The Math.asin() method returns the opposite sine of a number in radians from a value between -PI/2 to PI/2.
api · 2023-01-30
JavaScript Date.toTimeString() Method
The Date.toTimeString() method converts a Date object to time and returns it as the string.
api · 2023-01-30
JavaScript Date.toString() Method
The Date.toString() method converts a Date object to date and time and returns it as the string.
api · 2023-01-30
JavaScript Date.toLocaleTimeString() Method
The date.toLocaleTimeString() method converts a Date object to time and returns it as the string.
api · 2023-01-30
JavaScript Date.toLocaleString() Method
The Date.toLocaleString() method converts a Date object to date and time and returns it as the string.
api · 2023-01-30
JavaScript Date.toLocaleDateString() Method
The Date.toLocaleDateString() method converts a Date object to date and returns it as the string.
api · 2023-01-30
JavaScript Array.shift() Method
The Array.shift() method is used to remove the first element from an array and returns the removed element.
api · 2023-01-30
JavaScript Array.concat() Method
The Array.concat() method merges two or more arrays and returns the result in a new array.
api · 2023-01-30
JavaScript Math.sin() Method
The Math.sin() method is used to return the sine of a number in radians from a value between -1 to 1.
api · 2023-01-30
JavaScript Math.round() Method
The Math.round() method is used to return the closest absolute integer value from a given number.
api · 2023-01-30
JavaScript Math.random() Method
The Math.random() method is used to return a floating point random number between 0 to 1.
api · 2023-01-30
JavaScript Math.pow() Method
The Math.pow() method is used to return the power of a number.
api · 2023-01-30
JavaScript Math.PI Property
The Math.PI property represents the ratio of the circumference of a circle to its diameter. Its approximate value is 3.1415.
api · 2023-01-30
JavaScript Math.min() Method
The Math.min() method is used to return the lowest value from the given values.
api · 2023-01-30
JavaScript Math.max() Method
The Math.max() method is used to return the highest value from the given values.
api · 2023-01-30
JavaScript Array.lastIndexOf() Method
The Array.lastIndexOf() method is used to find a specified value from the last of an array and returns its index position. If the value does not exist, it will return -1.
api · 2023-01-30
JavaScript Array.includes() Method
The Array.includes() method is used to find a specified value from an array and returns in a Boolean form. Returns true if the value is found and false if it is not.
api · 2023-01-30
JavaScript Array.filter() Method
The Array.filter() method is used to return those elements from an array that fulfilled the criteria. It returns the elements into a new array instead of changing the original one.