Skip to content

fix: converting an empty node set to a number should return NaN#97

Merged
zhengchun merged 1 commit into
antchfx:masterfrom
guillaumebrunerie:master
Apr 9, 2024
Merged

fix: converting an empty node set to a number should return NaN#97
zhengchun merged 1 commit into
antchfx:masterfrom
guillaumebrunerie:master

Conversation

@guillaumebrunerie

@guillaumebrunerie guillaumebrunerie commented Apr 8, 2024

Copy link
Copy Markdown
Contributor

Makes number(//non-existent-node) return NaN instead of 0, fixes issue #96.

@zhengchun zhengchun merged commit 5116a24 into antchfx:master Apr 9, 2024
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

Successfully merging this pull request may close these issues.

2 participants