GoScrobble/web/node_modules/ext/object/entries/is-implemented.js

7 lines
139 B
JavaScript

"use strict";
module.exports = function () {
try { return Object.entries({ foo: 12 })[0][0] === "foo"; }
catch (e) { return false; }
};