Anjanesh Lekshminarayananjavascript.co.in·Apr 22, 2023Initializing an object property if assigning to it failsIf you initialize a variable like let applications = {} and assign a property of applications with an array, like as in applications['foo'].push(1) it'll throw an error because foo is not yet a property of applications. In Chrome it throws the follow...8 likes·34 readsJavaScript