Affiliation:
1. Brown University, Providence, RI, USA
Abstract
We present S5, a semantics for the strict mode of the ECMAScript 5.1 (JavaScript) programming language. S5 shrinks the large source language into a manageable core through an implemented transformation. The resulting specification has been tested against real-world conformance suites for the language. This paper focuses on two aspects of S5: accessors (getters and setters) and eval. Since these features are complex and subtle in JavaScript, they warrant special study. Variations on both features are found in several other programming languages, so their study is likely to have broad applicability.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference17 articles.
1. Type Checking for JavaScript
2. Staged information flow for javascript
3. A lambda calculus of objects with self-inflicted extension
4. ECMA International. ECMAScript Edition 5.1. URL http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.p%df. ECMA International. ECMAScript Edition 5.1. URL http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.p%df.
Cited by
12 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献