build(deps-dev): apply updates
[benchmarks-js.git] / is-undefined.mjs
1 import { bench, group, run } from 'tatami-ng'
2
3 group('Is undefined', () => {
4 bench('=== undefined', (value = undefined) => {
5 return value === undefined
6 })
7 bench("typeof === 'undefined'", (value = undefined) => {
8 return typeof value === 'undefined'
9 })
10 })
11
12 await run({
13 units: true,
14 })