Skip to content

Add length property to Array constructor #326

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

Merged

Conversation

dbatyai
Copy link
Member

@dbatyai dbatyai commented Jul 7, 2015

The Array constructor should have a length property with value 1.
See: http://www.ecma-international.org/ecma-262/5.1/index.html#sec-15.4.3
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai.u-szeged@partner.samsung.com

@dbatyai dbatyai added bug Undesired behaviour ecma builtins Related to ECMA built-in routines labels Jul 7, 2015
@dbatyai dbatyai added this to the ECMA builtins milestone Jul 7, 2015
@egavrin
Copy link
Contributor

egavrin commented Jul 7, 2015

Looks good

@LaszloLango
Copy link
Contributor

+1 lgtm

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai.u-szeged@partner.samsung.com
@dbatyai dbatyai force-pushed the array_constructor_length_prop branch from 2004db2 to 3c4c545 Compare July 7, 2015 15:14
@dbatyai dbatyai merged commit 3c4c545 into jerryscript-project:master Jul 7, 2015
@dbatyai dbatyai deleted the array_constructor_length_prop branch July 31, 2015 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour ecma builtins Related to ECMA built-in routines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants