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

Method indexOf

packages/reactivity/__tests__/reactiveArray.spec.ts:324–327  ·  view source on GitHub ↗
(searchElement: T, fromIndex?: number | undefined)

Source from the content-addressed store, hash-verified

322 }
323
324 indexOf(searchElement: T, fromIndex?: number | undefined): number {
325 this.lastSearched = searchElement
326 return super.indexOf(searchElement, fromIndex)
327 }
328 }
329
330 test('calls correct mutation method on Array subclass', () => {

Callers 15

ssrTransformElementFunction · 0.80
removeFunction · 0.80
codeframe.spec.tsFile · 0.80
stringifyCurrentChunkFunction · 0.80
ssrRenderDynamicAttrFunction · 0.80
compileScriptFunction · 0.80
patchErrorsFunction · 0.80
parse.spec.tsFile · 0.80
getPositionInCodeFunction · 0.80
parseForExpressionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected