-
Notifications
You must be signed in to change notification settings - Fork 683
Implement Date.prototype.toJSON() #455
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
@@ -1097,7 +1098,7 @@ ecma_builtin_date_prototype_to_utc_string (ecma_value_t this_arg) /**< this argu | |||
* Returned value must be freed with ecma_free_completion_value. | |||
*/ | |||
static ecma_completion_value_t | |||
ecma_builtin_date_prototype_to_iso_string (ecma_value_t this_arg) /**< this argument */ | |||
ecma_builtin_date_prototype_to_iso_string (ecma_value_t this_arg __attr_unused___) /**< this 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.
Why do we need to add unused attribute here?
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.
Ooops. Fixed.
looks good to me |
} | ||
|
||
ECMA_FINALIZE (tv) | ||
ECMA_FINALIZE (obj) |
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 semicolons at end of the lines.
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.
Added.
Good to me |
lgtm |
Looks good to me |
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
No description provided.