MCPcopy
hub / github.com/vuejs/core / push

Method push

packages/reactivity/__tests__/reactiveArray.spec.ts:319–322  ·  view source on GitHub ↗
(item: T)

Source from the content-addressed store, hash-verified

317 lastSearched: undefined | T
318
319 push(item: T) {
320 this.lastPushed = item
321 return super.push(item)
322 }
323
324 indexOf(searchElement: T, fromIndex?: number | undefined): number {
325 this.lastSearched = searchElement

Callers

nothing calls this directly

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected