MCPcopy Index your code
hub / github.com/docker/getting-started / defineProperty

Function defineProperty

app/src/static/js/react-bootstrap.js:3366–3379  ·  view source on GitHub ↗
(obj, key, value)

Source from the content-addressed store, hash-verified

3364}();
3365
3366var defineProperty = function (obj, key, value) {
3367 if (key in obj) {
3368 Object.defineProperty(obj, key, {
3369 value: value,
3370 enumerable: true,
3371 configurable: true,
3372 writable: true
3373 });
3374 } else {
3375 obj[key] = value;
3376 }
3377
3378 return obj;
3379};
3380
3381var _extends = Object.assign || function (target) {
3382 for (var i = 1; i < arguments.length; i++) {

Callers 3

arrowFunction · 0.85
preventOverflowFunction · 0.85
shiftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…