daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Aug 16th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. How would I convert this to a multi-dimensional array in javascript?
  2. var table = {
  3.     "STAT": [ false, false, false, true, true, false ]
  4.     // etc.
  5.    
  6. [
  7.     [ 'PATIENT_RESULT_IN_RANGE', [ 1, 0, 1 ] ],
  8.     [ 'QC_RESULT_IN_RANGE', [ 1, , 0, 1 ] ],
  9.     [ 'QC_DUE', [ 0, , , 1, 1, 1 ] ]
  10.     // ect.
  11. ]
  12.    
  13. {
  14.     'PATIENT_RESULT_IN_RANGE': [ 1, 0, 1 ],
  15.     'QC_RESULT_IN_RANGE': [ 1, , 0, 1 ],
  16.     'QC_DUE': [ 0, , , 1, 1, 1 ]
  17.     // ect.
  18. }
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