Skip to content
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

Implemented Array.prototype.shift(). #24

Closed
wants to merge 1 commit into from
Closed

Implemented Array.prototype.shift(). #24

wants to merge 1 commit into from

Conversation

dbatyai
Copy link
Member

@dbatyai dbatyai commented May 7, 2015

Depends on: #22

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]

ecma_deref_ecma_string (to_str_p);
ecma_deref_ecma_string (from_str_p);

if (!ecma_is_completion_value_empty (ret_value))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check could be moved to the loop condition.
In the case, outer if could be removed.

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]
@dbatyai
Copy link
Member Author

dbatyai commented May 14, 2015

Hi @ruben-ayrapetyan,

I fixed the issues you mentioned, and rebased to master.

@egavrin
Copy link
Contributor

egavrin commented May 14, 2015

LGTM, make push
/cc @ruben-ayrapetyan

@dbatyai
Copy link
Member Author

dbatyai commented May 18, 2015

merged: 1f8772d

@dbatyai dbatyai closed this May 18, 2015
@dbatyai dbatyai deleted the array_prototype_shift branch June 9, 2015 14:04
sand1k pushed a commit to sand1k/jerryscript that referenced this pull request Dec 8, 2015
Preparations for enabling PREPARSE version of jsp_parse_source_element_list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants