index.js
//Remove first and last line, and every first and last character from the ascii lines array
Remove first and last line, and every first and last character from the ascii lines array
Remove first and last line and every first and last character from the ascii lines array
function removeBorders(lines) {
  var newlines=[];
  for(var i=1;i<lines.length-1;i++) {
    var newline = "";
    var line = lines[i];
    for(var j=1;j<line.length-1;j++){
      newline+=line[j];
    }
    newlines.push(newline);
  }
  return newlines;
}
function removeBorders ( lines ) { var newlines = [ ] ; for ( var i = 1 ; i < lines . length - 1 ; i ++ ) { var newline = "" ; var line = lines [ i ] ; for ( var j = 1 ; j < line . length - 1 ; j ++ ) { newline += line [ j ] ; } newlines . push ( newline ) ; } return newlines ; }
Remove first and last line, and every first and last character from the ascii lines array
Remove first and last line and every first and last character from the ascii lines array