IOTConnect-Web/node_modules/ext/object/entries/is-implemented.js
2024-05-09 09:49:52 +08:00

7 lines
139 B
JavaScript

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