Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am locovich on github.
  • I am locovich (https://keybase.io/locovich) on keybase.
  • I have a public key ASDijclDxWSAm5iF72-c4Q0pKaLK5Tz7WAz8X2FD-mi8AQo

To claim this, I am signing this object:

@locovich
locovich / index.html
Last active May 22, 2017 11:31 — forked from Spyryto/index.html
indexOf in string vs in array (http://jsbench.github.io/#ce13d1025351cb140b256e9d4a1a22ce) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>indexOf in string vs in array</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>