- Complete React app with 7 developer tools - JSON Tool with visual structured editor - Serialize Tool with visual structured editor - URL, Base64, CSV/JSON, Beautifier, Diff tools - Responsive navigation with dropdown menu - Dark/light mode toggle - Mobile-responsive design with sticky header - All tools working with copy/paste functionality
20 lines
904 B
JavaScript
20 lines
904 B
JavaScript
'use strict';
|
|
var $ = require('../internals/export');
|
|
var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');
|
|
var fails = require('../internals/fails');
|
|
var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');
|
|
var toObject = require('../internals/to-object');
|
|
|
|
// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
|
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
|
|
var FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });
|
|
|
|
// `Object.getOwnPropertySymbols` method
|
|
// https://tc39.es/ecma262/#sec-object.getownpropertysymbols
|
|
$({ target: 'Object', stat: true, forced: FORCED }, {
|
|
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
|
|
var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];
|
|
}
|
|
});
|