| 5 | const FORBIDDEN_KEYS = new Set(['__proto__', 'constructor', 'prototype']) |
| 6 | |
| 7 | const sqBracketsMatcher = str => str.match(/(.+)\[([^\]]+)\]\.?(.*)$/) |
| 8 | |
| 9 | // replaces any occurrence of an empty-brackets (e.g: []) with a special Symbol(append) to represent it |
| 10 | // this is going to be useful for the setter method that will push values to the end of the array when finding these |
no test coverage detected