SHARE
TWEET

Untitled

a guest Jun 20th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var item = {};
  2. item.name = "Option 1";
  3.  
  4. if (item.addTags==true || item.addTags==null) {
  5.    // user wants to add tags. if not set then default is to add tags
  6. }
  7. else {
  8.    // property is set and is not true. do not add tags  
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top