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

Strict Mode Interpreter #815

Closed
Lan2u opened this issue Oct 8, 2020 · 1 comment
Closed

Strict Mode Interpreter #815

Lan2u opened this issue Oct 8, 2020 · 1 comment
Assignees
Labels
E-Medium Medium difficulty problem enhancement New feature or request execution Issues or PRs related to code execution
Milestone

Comments

@Lan2u
Copy link

Lan2u commented Oct 8, 2020

ECMASCript feature
Strict mode support for the interpreter as per https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.

Example code

'use strict';
(14).sailing = 'home';

This code should throw a type error but currently returns 'home'.

The parser/lexer side of this was previously implemented as #717.

@Lan2u Lan2u added enhancement New feature or request execution Issues or PRs related to code execution labels Oct 8, 2020
@Lan2u Lan2u added this to the v0.11.0 milestone Oct 8, 2020
@Lan2u Lan2u assigned Lan2u and unassigned Lan2u Oct 8, 2020
@Lan2u Lan2u added the E-Medium Medium difficulty problem label Oct 9, 2020
@Razican Razican modified the milestones: v0.11.0, v0.12.0 Jan 11, 2021
@Razican Razican modified the milestones: v0.12.0, v0.13.0 May 22, 2021
@raskad raskad self-assigned this Sep 2, 2021
@raskad
Copy link
Member

raskad commented Sep 25, 2021

With #1550 we have strict flags available during the execution. I think we can close this and track individual implementations of strict handling in separate issues.

@raskad raskad closed this as completed Sep 25, 2021
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 execution Issues or PRs related to code execution
Projects
None yet
Development

No branches or pull requests

3 participants