JSFiddle - React, Tailwind, and code Playground

by Paco86

JavaScript

var obj = {
	arr: [{id: 123}]
}

alert(Object.get(obj, 'arr[0].id'));