Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new ES6 types to knownGlobals #123

Closed
avbel opened this issue Jul 22, 2014 · 0 comments · Fixed by #126
Closed

Add new ES6 types to knownGlobals #123

avbel opened this issue Jul 22, 2014 · 0 comments · Fixed by #126
Assignees
Labels
Milestone

Comments

@avbel
Copy link

@avbel avbel commented Jul 22, 2014

Like

   if (global.Proxy) {
        knownGlobals.push(global.Proxy);
    }

    if (global.Map) {
        knownGlobals.push(global.Map);
    }

    if (global.WeakMap) {
        knownGlobals.push(global.WeakMap);
    }

    if (global.Promise) {
        knownGlobals.push(global.Promise);
    }

    if (global.Set) {
        knownGlobals.push(global.Set);
    }

Otherwise labs shows global variables leak on node 0.11.13+ with switch --harmony

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.