MCPcopy Create free account
hub / github.com/docker/getting-started / _defineProperty

Function _defineProperty

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

Source from the content-addressed store, hash-verified

191/***/ (function(module, exports) {
192
193function _defineProperty(obj, key, value) {
194 if (key in obj) {
195 Object.defineProperty(obj, key, {
196 value: value,
197 enumerable: true,
198 configurable: true,
199 writable: true
200 });
201 } else {
202 obj[key] = value;
203 }
204
205 return obj;
206}
207
208module.exports = _defineProperty;
209

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…