Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Open
Description
Description
Null Safe Access was added insymfony/expression-language#7 however that syntax does not work for array access.
Javascript DOES support this syntax:obj.val?.[expr]
Example
myObject.getItems()?.[0]?.myFunction()
to avoid array access error.