UNPKG

@nodesecure/js-x-ray

Version:
11 lines 392 B
export function isEvilIdentifierPath(identifier) { return isFunctionPrototype(identifier); } export function isNeutralCallable(identifier) { return identifier === "Function.prototype.call"; } function isFunctionPrototype(identifier) { return identifier.startsWith("Function.prototype") && /call|apply|bind/i.test(identifier); } //# sourceMappingURL=isEvilIdentifier.js.map