Skip to content

Instantly share code, notes, and snippets.

@tmoitie
Created February 17, 2015 12:39
Show Gist options
  • Save tmoitie/2de7eef004d173ef2a49 to your computer and use it in GitHub Desktop.
Save tmoitie/2de7eef004d173ef2a49 to your computer and use it in GitHub Desktop.
"use strict";
var _defineProperty = function (obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); };
var a = "k",
b = (function () {
var _b = {};
_defineProperty(_b, a, "foo");
_defineProperty(_b, "k", "bar");
return _b;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment