Answers for "how to get a value from json array in javascript"

0

how to get a value from json array in javascript

let MyObj={
"name":"John",
"age":30,
"cars":["Ford", "BMW", "Fiat"]
}

console.log(myObj.cars[0])
Posted by: Guest on June-25-2021

Code answers related to "how to get a value from json array in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language