Skip to content

Commit

Permalink
[Fix] ensure that a non-object globals.Reflect doesn’t break the shim.
Browse files Browse the repository at this point in the history
Fixes #392.
  • Loading branch information
ljharb committed Feb 11, 2016
1 parent 9439339 commit 5333255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es6-shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@

// Reflect
if (!globals.Reflect) {
defineProperty(globals, 'Reflect', {});
defineProperty(globals, 'Reflect', {}, true);
}
var Reflect = globals.Reflect;

Expand Down

0 comments on commit 5333255

Please sign in to comment.