JSFiddle - React, Tailwind, and code Playground
by WilsonPage
JavaScript
// object declaration
var myObject = {
a: 'one',
b: 'two',
c: 'three'
}
// testing for properties
alert( myObject.hasOwnProperty('a') );// will alert 'true'
alert( myObject.hasOwnProperty('d') );// will alert 'false'