bitpay/bitcore — pull request #509 by sagivo (2014-09-06 04:48:24+00:00)
Title: syntax fix - typeof is not a function, it's  an operator

following the comment of @shesek here: https://github.com/bitpay/bitcore/pull/500/files#r16642032
`typeof(foo)` should be `typeof foo`