Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js isset variable

if (obj.hasOwnProperty('foo')) {
  // your code here
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #isset #variable
ADD COMMENT
Topic
Name
3+9 =