Skip to content

Conversation

Sz-J
Copy link

@Sz-J Sz-J commented Feb 1, 2023

Add "valueOf" to Boolean prototype to return the proper type. Boolean's stdProto's valueOf returns a number type, whereas Boolean's valueOf should return a boolean type.

Add "valueOf" to Boolean prototype to return the proper type.
Boolean's stdProto's valueOf returns a number type, whereas Boolean's valueOf should return a boolean type.
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.

1 participant