Skip to content

Strict Mode Interpreter #815

Closed
Closed
@Lan2u

Description

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.

Metadata

Assignees

Labels

E-MediumMedium difficulty problemenhancementNew feature or requestexecutionIssues or PRs related to code execution

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions