-
Notifications
You must be signed in to change notification settings - Fork 689
Implement Date.UTC and add a dummy implementation for Date.now #305
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
Implement Date.UTC and add a dummy implementation for Date.now #305
Conversation
|
|
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.
IMHO, if a user passes 8 arguments we should work in that case also, we just won't do anything with the 8th argument.
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.
Sure, I'l fix it.
8c0c78d to
2d000ce
Compare
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.
Probably it should be nan_p.
d48d264 to
1b22e19
Compare
|
lgtm |
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.
Please add comment for each condition corresponding to http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.3.1 bullets.
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.
OK
1b22e19 to
0bb94b3
Compare
|
@egavrin, I've updated the PR, please check. |
|
Good to me |
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
0bb94b3 to
4f108ab
Compare
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com