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.unshift(). #25

Closed
wants to merge 1 commit into from
Closed

Implemented Array.prototype.unshift(). #25

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: Daniel Batyai [email protected]

@ILyoan ILyoan mentioned this pull request May 12, 2015
25 tasks
uint32_t k = len;

/* 6. */
while (k > 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we just use for instead of while? In the case, ecma_is_completion_value_empty can be put to the for condition.

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

dbatyai commented May 15, 2015

Hi @egavrin,

I've fixed the issues you mentioned.

@egavrin
Copy link
Contributor

egavrin commented May 15, 2015

@dbatyai great! make push

@dbatyai
Copy link
Member Author

dbatyai commented May 18, 2015

merged: 3c1563a

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.

2 participants