]> zoso.dev Git - buffer.git/commit
Fix: Add missing "typeof"
authorFeross Aboukhadijeh <feross@feross.org>
Mon, 8 Aug 2016 08:53:07 +0000 (01:53 -0700)
committerFeross Aboukhadijeh <feross@feross.org>
Mon, 8 Aug 2016 08:53:07 +0000 (01:53 -0700)
commitd5cd2f2922d4c379c04121a5b16b051239dac9bf
tree2824aea835816617e4f90568bbde2f724a8ca671
parent60dd67a5324bd7e33c54cb374e826f5947819885
Fix: Add missing "typeof"

Without this, we never go down the faster native indexOf code-path. So
this wasn't causing bugs in user code, it was just probably slower than
necessary.
index.js