how to use JSON function in javascript code example
Example: create a json object in javascript
var employee = {
"firstName": firstName,
"lastName": lastName
}
var employee = {
"firstName": firstName,
"lastName": lastName
}