JSFiddle - React, Tailwind, and code Playground by Paco86 May 22, 2019 JavaScript var obj = { arr: [{id: 123}] } alert(Object.get(obj, 'arr[0].id'));