Opal-Estate-Pro/node_modules/es5-ext/object/entries/is-implemented.js
2019-09-13 11:27:52 +07:00

7 lines
139 B
JavaScript

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