Special case using the String constructor #4

Merged
merged 1 commit into from Jan 16, 2013

Projects

None yet

2 participants

@matthewp
Contributor

typeof new String("foo") === 'object'

This fixes #3

@matthewp matthewp Need to use toString check for strings.
typeof new String("foo") === 'object'
5d50c1d
@tj tj merged commit 1f1ea85 into component:master Jan 16, 2013
@tj
Member
tj commented Jan 16, 2013

for parity we should add boolean as well, but that as well is terrible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment