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. Copyright © 2012 ACM.
CITATION STYLE
Politz, J. G., Carroll, M. J., Lerner, B. S., Pombrio, J., & Krishnamurthi, S. (2013). A tested semantics for getters, setters, and eval in javaScript. In ACM SIGPLAN Notices (Vol. 48, pp. 1–16). https://doi.org/10.1145/2480360.2384579
Mendeley helps you to discover research relevant for your work.