< BACK
Javascript tips, tricks and code snippets
- Find the highest zIndex value
- Insert a DOM element after another without using a library
- Javascript equivalent of python
range
function - Javascript: find key in object by its value
- Javascript: sort an object property by values
- Promisify the native
xhr
request - Regex - accessing matched groups
- Reverse String.fromCharCode
- Shuffle an array
- Strip HTML from a String in Javascript
- Unique values of an array
- Using .forEach to loop over NodeList
- Using URLSearchParams to get a page’s query string