JavaScript , , , , 0 Comments

We can use JavaScript matchAll method on any string and it returns all the matching results as an iterator that works easily with for…of loops and has properties like index, input and groups. It will return an empty iterator object if nothing matched. Simple Example As I said before JavaScript matchAll method will return an iterator of

Read More

JavaScript , , 0 Comments

An Arrow Function in JavaScript also called a “Fat arrow” function is a syntactically compact alternative to a regular function expression. It allows us to write shorter function syntax. Arrow functions are anonymous and change the way this binds in functions. Arrow functions doesn’t support its own bindings to the this, arguments, super, or new.target

Read More