frntl / frontal

DISCONTINUED: Markdown powered presentation tool build on Electron / Node.js still WIP
http://frontal.io/
MIT License
6 stars 0 forks source link

better property check #74

Closed ff6347 closed 8 years ago

ff6347 commented 8 years ago

Try the javascript in operator.

if ('key' in myObj)

And the inverse.

if (!('key' in myObj))

Looks way better