Comments (3)
I just noticed that tomvc submitted a change intentionally to add a
arguments.length
=== 1 check. What is the reasoning behind that?
Original comment by [email protected]
on 8 Jan 2010 at 6:55
from es-lab.
Failing to get a satisfying answer from es-discuss, MarkM and I had another
look at
this and decided it would make most sense to have the parser generate an
EvalExpr no
matter the number of arguments passed to eval. It seemed like a strange
restriction
for the parser to check the number of arguments. Furthermore, the spec does not
mention # of arguments when defining what a 'direct call to eval' means.
Change reverted in r136.
Original comment by [email protected]
on 15 Jan 2010 at 2:18
- Changed state: Fixed
from es-lab.
For reference, the relevant es-discuss thread is
https://mail.mozilla.org/pipermail/es-
discuss/2010-January/010512.html .
Original comment by [email protected]
on 15 Jan 2010 at 2:22
from es-lab.
Related Issues (19)
- Parser does not support full unicode character set HOT 1
- Required trait properties override inherited prototype properties with undefined HOT 2
- Page has no doctype
- Can't instantiate traits with accessor properties on latest node.js HOT 2
- Modifying a value don't works on google chrome when using compose HOT 3
- "do {;} while(false) false" parses according to spec: as a syntax error
- Patch for /trunk/src/proxies/forwardingHandler.js
- small error in traits.js
- window.frames === window
- Trait can't deal with global getters on Object.prototype
- Making WeakMap security not depending on HIDDEN_NAME being neither unguessable nor undiscoverable
- Parser does not recognize future es5-strict keywords HOT 2
- Parser does not detect all early errors HOT 3
- 'in' Expressions not allowed in for-in loop declarations HOT 3
- Need PrologueDecl AST type HOT 3
- Need EvalExpr AST type HOT 1
- Backslashes within Regexp literals fail HOT 1
- Try-Catch statements do not properly reflect scope of exception variable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from es-lab.