Skip to content

Instantly share code, notes, and snippets.

View thdoan's full-sized avatar

thdoan

View GitHub Profile
@thdoan
thdoan / index.html
Created April 12, 2021 19:19
Looping through object keys (http://jsbench.github.io/#5156a71a65cc1bfd0e813f73d4a5483a) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Looping through object keys</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>