We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e7266a commit 611c6f7Copy full SHA for 611c6f7
pointer.ts
@@ -72,7 +72,7 @@ export class Pointer {
72
if (['__proto__', 'constructor', 'prototype'].includes(key))
73
continue;
74
// not sure if this the best way to handle non-existant paths...
75
- value = (parent || {})[key]
+ value = parent?.[key]
76
}
77
return {parent, key, value}
78
0 commit comments