SHARE
TWEET

Untitled

a guest Jun 18th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2.  <script>
  3. var typeList = [
  4.     'typeList1',
  5.     'typeList2',
  6.     'typeList3',
  7.     'typeList4'
  8.   ];
  9.  
  10.  
  11.   var containerList = [
  12.     'con1',
  13.     'con2',
  14.     'con3',
  15.     'con4'
  16.   ];
  17.  
  18.   var addressList = [
  19.     'addressList1',
  20.     'addressList2',
  21.     'addressList3',
  22.     'addressList4'
  23.   ];
  24.  
  25.   var sensorDataList = [
  26.     'sensorDataList1',
  27.     'sensorDataList2',
  28.     'sensorDataList3',
  29.     'sensorDataList4'
  30.   ];
  31.  
  32. typeList.map(sensorType => (
  33. containerList.map(container => (
  34.           addressList.map(position => (
  35.             sensorDataList.map(sensorData => (
  36.  
  37.                                         console.log(sensorType + " " + container + " " +position + " " +sensorData)
  38.  
  39.                                     ))))))));
  40.  </script>
  41.     <body>
  42.         sanyia
  43.     </body>
  44. </html>
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