Eric Trinh

Results 3 comments of Eric Trinh

Bracket notation doesn't work, but internally, safe-access uses bracket notation and the strings that you pass in to safely access properties, so you can do this: ``` javascript var obj...

Can you give code samples of what you mean (perhaps a failing case and what you would expect to happen)?

This wouldn't work in vanilla JS either. ``` var test = { test2: 'tester' }; test2 = test.test2; // test2 === 'tester' test2 = 'newValue'; console.log(test); // { test2: 'tester'...