The JavaScript Array.at() method
Often we want to return a single item from an array. There are a few methods of doing this including the `at(index)` method which returns the item at a given index.
3 min read
Posts tagged JavaScript — testing, AI, Playwright, and the web.
Often we want to return a single item from an array. There are a few methods of doing this including the `at(index)` method which returns the item at a given index.
The .filter() method in JavaScript creates a new array with all elements that pass the test implemented by the provided function.
How to format a date in JavaScript without using any libraries so you easily display dates in your Vue or Nuxt application
The .map() method in JavaScript lets you loop over every element in an array and modify or add to it and then return a different element to take that elements place