what is es11

Solutions on MaxInterview for what is es11 by the best coders in the world

showing results for - "what is es11"
Luca
08 Mar 2017
1let flowers =  ['lily', 'daisy', 'rose']
2
3console.log(flowers[1]) // daisy
4
5flowers = null
6
7console.log(flowers[1]) // TypeError: Cannot read property '1' of null
8console.log(flowers?.[1]) // undefined
9
Alex
18 Mar 2017
1console.log(flower.species?.lily) // undefined
2