JSFiddle - React, Tailwind, and code Playground
by luka kupunia
JavaScript
var obj = {
name: {
test: 'luka'
}
}
console.log(obj['name']?.['test'])
by luka kupunia
var obj = {
name: {
test: 'luka'
}
}
console.log(obj['name']?.['test'])