Advertisement
badlogic

js array format

Sep 26th, 2016
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.26 KB | None | 0 0
  1. //js array format
  2. var obj = {
  3.     'row1' : {
  4.         'key1' : 'input1',
  5.         'key2' : 'inpu2'
  6.     },
  7.     'row2' : {
  8.         'key3' : 'input3',
  9.         'key4' : 'input4'
  10.     }
  11. };
  12.  
  13.  
  14. //another sample
  15. var person = {firstName:"John", lastName:"Doe", age:46};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement