MCPcopy
hub / github.com/webpack/webpack / isUnsafeKey

Function isUnsafeKey

lib/cli.js:519–520  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

517 * @returns {boolean} true when the segment is unsafe to write through
518 */
519const isUnsafeKey = (name) =>
520 name === "__proto__" || name === "constructor" || name === "prototype";
521
522/**
523 * Gets object and property.

Callers 1

getObjectAndPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected