We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90393f9 commit c006ce9Copy full SHA for c006ce9
pointer.ts
@@ -69,6 +69,9 @@ export class Pointer {
69
for (let i = 1, l = this.tokens.length; i < l; i++) {
70
parent = value
71
key = this.tokens[i]
72
+ if (key == '__proto__' || key == 'constructor' || key == 'prototype') {
73
+ continue
74
+ }
75
// not sure if this the best way to handle non-existant paths...
76
value = (parent || {})[key]
77
}
0 commit comments