MCPcopy
hub / github.com/mobxjs/mobx / get

Function get

packages/mobx/__tests__/v5/base/decorate.js:255–267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253 configurable: true,
254 enumerable: false,
255 get() {
256 /** @type {Box} */
257 const t /** @type {any} */ = this
258
259 return (
260 // @ts-ignore
261 t.undeclared *
262 t.height *
263 t.sizes.length *
264 t.someFunc() *
265 (t.uninitialized ? 2 : 1)
266 )
267 }
268 })
269 this.sizes = [2]
270 this.someFunc = function () {

Callers 1

object-api.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected