JSFiddle - React, Tailwind, and code Playground

by jairajdesai

JavaScript

var Dict = [
  ["x", "y", "z"],
  ["x", "w", "m"],
  ["u", "t", "d", "L"]
];
First = [];
Second = [];
Third = [];

for (m=0;m<Dict.length;m++) {
  First.push(Dict[m][0]);
  Second.push(Dict[m][1]);
  Third.push(Dict[m][2]);
}
console.log(First);
console.log(Second);
console.log(Third);