Skip to content
This repository has been archived by the owner on Sep 13, 2018. It is now read-only.

Boolean(string) always evaluates to true if string is not empty #1

Open
jsalatas opened this issue Jun 10, 2015 · 0 comments
Open

Boolean(string) always evaluates to true if string is not empty #1

jsalatas opened this issue Jun 10, 2015 · 0 comments

Comments

@jsalatas
Copy link

both
Boolean("true")
and
Boolean("false")
returns true

so line 30 in jquery-io.js seems that always returns true

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant