This site is mobile accessible. Press the "Tap Here" button to use a different font-size.


Smartphone icons created by Freepik - Flaticon

Creating an Object from a JSON Literal

const myObj = {"name":"John", "age":30, "car":null};
document.getElementById("demo").innerHTML = "Name: " + myObj.name + ", Age: " + myObj.age + ", Car: " + myObj.car;