Skip to content

jsTruthy with blank string returns true #417

Answered by amit777
amit777 asked this question in Q&A
Discussion options

You must be logged in to vote

Ok... I think i found the problem. The word "blank" as a variable doesn't seem to be valid. It's considered a literalValue. So my test is bad.. if i change blank to blankvar, then it works fine.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@harttle
Comment options

Answer selected by harttle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #415 on October 16, 2021 04:15.