Skip to content

Commit

Permalink
add a couple of comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jan 3, 2023
1 parent 7c6a725 commit d6f80e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core-js/modules/es.date.get-year.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ var $ = require('../internals/export');
var uncurryThis = require('../internals/function-uncurry-this');
var fails = require('../internals/fails');

// IE8- non-standard case
var FORCED = fails(function () {
return new Date(16e11).getYear() !== 120;
});
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/modules/es.error.cause.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
}
};

// https://tc39.es/ecma262/#sec-nativeerror
// https://github.com/tc39/proposal-error-cause
exportGlobalErrorCauseWrapper('Error', function (init) {
return function Error(message) { return apply(init, this, arguments); };
Expand Down

0 comments on commit d6f80e2

Please sign in to comment.