Skip to content

Commit

Permalink
Rephrase confusing comment in descriptors.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Barker authored Dec 28, 2020
1 parent bf3cdd2 commit 9289dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/internals/descriptors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var fails = require('../internals/fails');

// Thank's IE8 for his funny defineProperty
// Handle IE8's unusual defineProperty implementation
module.exports = !fails(function () {
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
});

0 comments on commit 9289dd3

Please sign in to comment.