4444 
 333 
 22 
 1 
 22 
 333 
 4444 
 I can only do the first half 
 4444 
 333 
 22 
 1 
 22 
 333 
 4444 
 I can only do the first half 
let map = []; // map= [4][4] js  js
let num = 4;
//  
for(let row = 0; row < num * 2 - 1; rowPP) {
  map.push([]);
  for(let col = 0; col < num; colPP) {
    map[row].push('');
  }
}
for(let row = 0; row < num; rowPP) {
  let currRow = num - row - 1;
  //    == num * 2 - 2
  for(let col = 0; col < row + 1; colPP) {
    map[currRow][col] = row + 1;
    map[num * 2 - 2 - currRow][col] = row + 1;
  }
}
console.log(map);
					Previous: How to configure Redis in Homestead?
There is an id on the tag for example: sty, write type of (sty) directly in js and output object, now I want to take the id of this tag as the type of object. ...