Comments (7)
This isn't valid behaviour.
from babel.
@sebmck Then, what is the valid behaviour? I have just reported whatever 6to5
spat out for foo.js
from babel.
Valid behaviour is what 6to5
output.
from babel.
But that is resulting in ReferenceError: foo is not defined
even on FF nightly.
from babel.
Because you haven't defined foo
. You're misinterpreting the purpose and function of computed property names.
from babel.
@sebmck this is what I tired. That example needs a fix. P.S: I have went through the es6-draft about computed property names.
from babel.
Woops you're right, not sure where I grabbed that example from. Thanks!
from babel.
Related Issues (20)
- Remove `privateFieldsAsProperties` support in Babel 8
- [Bug]: plugin-transform-regenerator together with async-to-generator incorrectly shadow function name in local scope HOT 1
- [Bug]: sourceCode.getScope is not a function (`@babel/eslint-plugin`) HOT 5
- [Bug]: Incorrect computed key evaluation order when a class has only class decorators HOT 1
- "Container is falsy" error with babel-plugin-istanbul and @babel/plugin-transform-block-scoping HOT 3
- [Bug]: The internal class binding captured in element decorators should not be mutated HOT 1
- [Bug]: Bebel Version upgraded to 7.24.1 Promise.allSettled cannot support HOT 1
- [Bug]: local let variable is not captured in for..in loop HOT 1
- [Bug]: Import the same identifier multiple times in jsx transform. HOT 1
- [Bug]: Babel TypeScript syntax throws with error recovery enabled where offical does not HOT 1
- [Bug]: Exception when combining a decorated class, a decorated method, and a static field HOT 6
- [Bug]: TypeScript annotation that contains the name of the annotated class method changes final output HOT 1
- [Bug]: Wrong transpilling @babel/[email protected] when destructuring to a new object HOT 3
- [Bug]: Code generated by Babel for decorated static accessors throws SyntaxError in Firefox HOT 16
- `@babel/plugin-transform-typescript` turn `const enum`s into `const` variables HOT 5
- [Bug]: Transform block scoping fails with for in statement inside loop HOT 1
- [Bug]: Decorators | Error when calling `super` in constructor of extended class when decorating accessors. HOT 2
- [Bug]: False positive TDZ check in class computed property keys HOT 4
- [Bug]: TypeScript parser does not set typeParameters for CallExpression HOT 3
- What do we need to make `usage-global` injection work with `@babel/runtime`? 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 babel.