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

Method deleteProperty

packages/reactivity/src/baseHandlers.ts:240–248  ·  view source on GitHub ↗
(target: object, key: string | symbol)

Source from the content-addressed store, hash-verified

238 }
239
240 deleteProperty(target: object, key: string | symbol) {
241 if (__DEV__) {
242 warn(
243 `Delete operation on key "${String(key)}" failed: target is readonly.`,
244 target,
245 )
246 }
247 return true
248 }
249}
250
251export const mutableHandlers: ProxyHandler<object> =

Callers

nothing calls this directly

Calls 2

warnFunction · 0.90
StringInterface · 0.85

Tested by

no test coverage detected