Skip to content

Instantly share code, notes, and snippets.

@enykeev
Last active October 6, 2015 16:01
Show Gist options
  • Save enykeev/7487e62eb50ef20c9c9a to your computer and use it in GitHub Desktop.
Save enykeev/7487e62eb50ef20c9c9a to your computer and use it in GitHub Desktop.
'use strict';
var a;
(function () {
var b = 'c';
a = function d() {
var e = 'f';
};
})()
// Any idea how to get to `b` from outside of the closure?
// `console.log(a...?)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment