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

Implement for..in for objects #670

Closed
jcdickinson opened this issue Aug 31, 2020 · 2 comments · Fixed by #976
Closed

Implement for..in for objects #670

jcdickinson opened this issue Aug 31, 2020 · 2 comments · Fixed by #976
Assignees
Labels
E-Medium Medium difficulty problem enhancement New feature or request Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com
Milestone

Comments

@jcdickinson
Copy link
Contributor

ECMASCript feature
I would like to see for..in syntax and execution implemented. ECMAScript specification. This is important for test262, as it uses for..in pretty extensively.

Example code

const myObject = {
 a: 'test1',
 b: 'test2'
};
let c = '';
for(const prop in myObject) {
 c += prop + '=' + myObject[prop] + ';';
}
c

The expected output is a=test1;b=test2;.

@jcdickinson jcdickinson added the enhancement New feature or request label Aug 31, 2020
@Lan2u Lan2u assigned jcdickinson and unassigned jcdickinson Aug 31, 2020
@jasonwilliams jasonwilliams added this to the v0.11.0 milestone Sep 18, 2020
@jasonwilliams jasonwilliams added E-Medium Medium difficulty problem Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com labels Sep 28, 2020
@jasonwilliams jasonwilliams self-assigned this Sep 30, 2020
@jasonwilliams jasonwilliams mentioned this issue Oct 1, 2020
@jasonwilliams jasonwilliams removed their assignment Oct 2, 2020
@Razican Razican mentioned this issue Oct 8, 2020
@tofpie
Copy link
Contributor

tofpie commented Dec 15, 2020

Hi. Could I work on it?

@jcdickinson
Copy link
Contributor Author

Hi. Could I work on it?

I have no objection. You might want to take a look at my closed PR to see if it applies to the subsequent changes.

If you have a WIP feel free to @ me, I'm somewhat familiar with the architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-Medium Medium difficulty problem enhancement New feature or request Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants