-
Notifications
You must be signed in to change notification settings - Fork 683
Implement builtin setters for Date object #367
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
Conversation
extern ecma_completion_value_t ecma_date_set_internal_property (ecma_value_t this_arg, | ||
ecma_number_t day, | ||
ecma_number_t time, | ||
bool input_is_utc); |
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.
is_utc is enough
da710f2
to
3171b34
Compare
* Used by: | ||
* - All Date.prototype.set* routine except Date.prototype.setTime. | ||
* | ||
* @return completion value |
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.
@szledan, usually, completion values are returned by specification-defined routines. In the cases, content of completion value is clear, while content of this function's completion is not - without looking into its code.
Could you, please, extend the comment with note about what value is returned from the function, or with a reference to specification, so that origin of the value becomes clear?
After updating the comment the changes would look good to me. |
JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan szledan.u-szeged@partner.samsung.com
3171b34
to
873987d
Compare
looks good to me |
@ruben-ayrapetyan recheck it please, and I'll merge it if its OK |
Looks good to me |
Merged at 005eb04 |
JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan szledan.u-szeged@partner.samsung.com