Guest User

Untitled

a guest
May 21st, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. options =['value1' : 'value1' ,
  2. 'value2' : 'value2'
  3. 'value3' : 'value3' ]
  4.  
  5. Syntax: this.state.options.index("value1") ;
  6.  
  7. var array = ["a", "b", "c"];
  8.  
  9. array.indexOf("a");
Add Comment
Please, Sign In to add comment