showing results for - "has own propriety javascrip"
Micaela
13 Mar 2016
1if (someVar.hasOwnProperty('someProperty') ) {
2 // do something();
3} else {
4 // do somethingElse();
5}