Skip to content

Instantly share code, notes, and snippets.

@giltayar
Created May 15, 2017 03:33
Show Gist options
  • Save giltayar/88790ecdc0b6f6551840950116e8d627 to your computer and use it in GitHub Desktop.
Save giltayar/88790ecdc0b6f6551840950116e8d627 to your computer and use it in GitHub Desktop.
<script>
console.time('benchmark')
</script>
<script type="module">
import itWorks from './es6-module-1.js'
const $ = document.querySelector.bind(document)
$('#output').textContent = itWorks()
console.timeEnd('benchmark')
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment