Sova
0
Q:

js isset

if (typeof obj.foo !== 'undefined') {
}
1
if (typeof foo !== 'undefined') {
  
}
0
if (typeof obj.foo !== 'undefined') {
  // your code here
}
0

New to Communities?

Join the community