---
title: "Shane Plasebo (@Plasebo) | Hashnode"
description: "Shane Plasebo (@Plasebo) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Plasebo"
---

@Plasebo

# Shane Plasebo

@Plasebo · Moka, Mauritius · Joined September 2021

### [Some, every and indexOf methods on arrays](https://plasebo.hashnode.dev/some-every-and-indexof-methods-on-arrays?utm_source=hashnode&utm_medium=feed)

Introduced in ES5, the only difference between Array.prototype.some() and Array.prototype.every() is the following: some() is used to check if at least one of the elements of the array passes the test implemented by the provided function; every() is...

3 min read · [plasebo.hashnode.dev](https://plasebo.hashnode.dev/some-every-and-indexof-methods-on-arrays?utm_source=hashnode&utm_medium=feed)

[Dec 14, 2021](https://hashnode.com/posts/some-every-and-indexof-methods-on-arrays/61b819e40059f90a57a57cf0)

### [Sort method to sort arrays](https://plasebo.hashnode.dev/sort-method-to-sort-arrays?utm_source=hashnode&utm_medium=feed)

The sort method sorts the elements of an array according to the callback function. For example on an array of numbers: function ascendingOrder(arr) { return arr.sort(function(a, b) { return a - b; }); } ascendingOrder(\[1, 5, 2, 3, 4\]); // =>...

2 min read · [plasebo.hashnode.dev](https://plasebo.hashnode.dev/sort-method-to-sort-arrays?utm_source=hashnode&utm_medium=feed)

[Dec 13, 2021](https://hashnode.com/posts/sort-method-to-sort-arrays/61b72facd2a5c9036e6ef466)

### [Use the reduce Method to Analyze Data in an array](https://plasebo.hashnode.dev/use-the-reduce-method-to-analyze-data-in-an-array?utm_source=hashnode&utm_medium=feed)

The reduce() method allows for more general forms of array processing, and it's possible to show that both filter and map can be derived as special applications of reduce. The reduce method iterates over each item in an array and returns a single val...

2 min read · [plasebo.hashnode.dev](https://plasebo.hashnode.dev/use-the-reduce-method-to-analyze-data-in-an-array?utm_source=hashnode&utm_medium=feed)

[Dec 13, 2021](https://hashnode.com/posts/use-the-reduce-method-to-analyze-data-in-an-array/61b728a2d2a5c9036e6ef385)

### [Filter method to filter an array of objects](https://plasebo.hashnode.dev/filter-method-to-filter-an-array-of-objects?utm_source=hashnode&utm_medium=feed)

The filter() method creates a new array with all elements that pass the test implemented by the provided function. The filter() method calls a function on each element of an array and returns a new array containing only the elements for which that fu...

4 min read · [plasebo.hashnode.dev](https://plasebo.hashnode.dev/filter-method-to-filter-an-array-of-objects?utm_source=hashnode&utm_medium=feed)

[Dec 13, 2021](https://hashnode.com/posts/filter-method-to-filter-an-array-of-objects/61b715730059f90a57a56c2d)

### [Common Array methods in Javascript](https://plasebo.hashnode.dev/common-array-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

Check For The presence of an Element With indexOf() Since arrays can be changed, or mutated, at any time, there's no guarantee about where a particular piece of data will be on a given array, or if that element even still exists. Luckily, JavaScript ...

8 min read · [plasebo.hashnode.dev](https://plasebo.hashnode.dev/common-array-methods-in-javascript?utm_source=hashnode&utm_medium=feed)

[Dec 6, 2021](https://hashnode.com/posts/common-array-methods-in-javascript/61add0a87a2f3360a654b19c)
