Advertisement
Guest User

Untitled

a guest
Jan 9th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var test2 = "";
  2. for (var prop in this)
  3. {
  4.     test2 += prop+"|";
  5. }
  6.  
  7.  
  8. // test2 output is: ccpulse|state|result|Debug|test2|prop|
  9. // if I replace this in my syntax with any of the objects enumerated, test2 is blank, I don't get it why since ccpulse for example
  10. // is not blank ccpulse.group("New Stat. Group 1").statistic("Total_Calls_Entered 1")
  11. // how can I enumerate all properies or methods of object?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement