I'm Pratik, a tech enthusiast and a coder 👨💻 who is starting his journey in the field of web and software development after learning quite a bit
Subscribe to my newsletter and never miss my upcoming articles
let's first understand what continuous element in the above example, you have seen there is a repeating now I want to remove all continuous value only (not duplication) and keep 1st element of each repeating value let's see how can we achieve that ...
pow ** exponentiation operator raising the first operand to the power of the second more details explanation click here floor ~~ double bitwise not operator rounding a number towards zero more details explanation click here Wrapping up! Share thi...
charAt charAt method returns the character at the specified index in a string charCodeAt charCodeAt method returns Unicode of the character at the specified index in a string substr substr extracts the characters from a string, beginning at a speci...
abs Math.abs function returns the absolute value of a number ceil Math.ceil function rounds a number up to the next largest integer floor Math.floor function rounds a number down to its nearest integer round Math.round function rounds a number to ...
push push method adds one or more element at the end of an array pop pop is removed the last element of the array & return that element shift A shift method removes the first element from the array and all other element indexes decrease by 1 unsh...