Skip to content

Instantly share code, notes, and snippets.

@maaaaagda
maaaaagda / index.html
Created October 25, 2022 11:55 — forked from maks-humeniuk/index.html
Array.indexOf() + Array.splice() vs Array.filter() (https://jsbench.github.io/#cc31a1b26f20546c074f5a0990523606) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Array.indexOf() + Array.splice() vs Array.filter()</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>