Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should NaN be evaulated as empty? #490

Open
delzac opened this issue Nov 1, 2023 · 0 comments
Open

Should NaN be evaulated as empty? #490

delzac opened this issue Nov 1, 2023 · 0 comments

Comments

@delzac
Copy link
Contributor

delzac commented Nov 1, 2023

<input type="text" _="on load get 'test' as a Number if it is empty set my value to 'NaN is empty' else set my value to 'NaN is not empty' end">

In the above test code, i try to convert a string into a number. This returns a NaN, but it doesn't evaluate as empty. I'm wondering if this behaviour is bug?

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

No branches or pull requests

1 participant