Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

fix parsing for "export" VarDeclaration #32

Closed
domenic opened this issue Jul 15, 2013 · 0 comments
Closed

fix parsing for "export" VarDeclaration #32

domenic opened this issue Jul 15, 2013 · 0 comments

Comments

@domenic
Copy link

domenic commented Jul 15, 2013

All of the following:

export
var x = 5;
export var
x = 5;
export var x
= 5;
export var x =
5;

should transpile to

var x = 5;
exports.x = x;
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants