-
Notifications
You must be signed in to change notification settings - Fork 129
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
Why is the position parameter in the arrayIncludes method using | instead of || ? #114
Comments
Not sure if this was the intention, but |
Thank you reply me, at first I thought about same with you, but I wonder if it's necessary to think about float number, and the But, if we use Tips: lexer.js's code is too hard, I need more time to learn it. 😂😂😂 |
@Dawnight, @lazarljubenovic is correct about the When I added these compat methods, I wanted to be sure that they had the same behavior as the native methods. Looking at the usages of The Closing as the question has been answered; thanks @lazarljubenovic! |
himalaya/src/compat.js
Line 31 in f0b8700
himalaya/src/compat.js
Line 20 in f0b8700
so, I cannot understand, why you
position | 0
in line 1, and useposition || 0
on line 2? I thinking both of them could useposition || 0
is corrent.The text was updated successfully, but these errors were encountered: