deconstruction javascript check if exist attrib

Solutions on MaxInterview for deconstruction javascript check if exist attrib by the best coders in the world

showing results for - "deconstruction javascript check if exist attrib"
Valentín
03 Sep 2017
1const obj = {  main: 'Brighton seagull'}const { main } = obj || {}// 'Brighton seagull'