-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Made String.prototype.lastIndexOf()
spec compliant
#598
Conversation
Codecov Report
@@ Coverage Diff @@
## master #598 +/- ##
==========================================
+ Coverage 71.26% 71.51% +0.24%
==========================================
Files 177 177
Lines 11598 11650 +52
==========================================
+ Hits 8265 8331 +66
+ Misses 3333 3319 -14
Continue to review full report at Codecov.
|
Benchmark for 10c5635Click to view benchmark
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a test that demonstrates the correct behavior when the position argument of lastIndexOf is not a number (default to positive infinity)
ac55dd8
to
6ca1354
Compare
Benchmark for 8a956e0Click to view benchmark
|
It changes the following:
String.prototype.lastIndexOf()
spec complaint