Norbert
0
Q:

how to check wether the property exist in a object in java script

if (obj.hasOwnProperty('prop')) {
    // do something
}
2

New to Communities?

Join the community