Open lumosmind opened 6 months ago
in the solution, prop can be string or Symbol.
while prop is a symbol; prop < 0 causes JS Error. "Error: Cannot convert a Symbol value to a number" And Reflect.set never executed to handle Symbol prop.
in the solution, prop can be string or Symbol.
while prop is a symbol; prop < 0
causes JS Error. "Error: Cannot convert a Symbol value to a number" And Reflect.set never executed to handle Symbol prop.