Javascript - Bulky Math.max, 90% Runtime
\nconst largestLocal = (grid) => {\n  let ans = [];\n  for (let i = 1; i < grid.length - 1; i++) {\n    let row = [];\n    for (let j = 1; j < grid.length - 1; 
```\nconst largestLocal = (grid) => {\n  let ans = [];\n  for (let i = 1; i < grid.length - 1; i++) {\n    let row = [];\n    for (let j = 1; j < grid.length - 1; j++) {\n      row.push(\n        Math.max(\n          grid[i - 1][j - 1], grid[i - 1][j], grid[i - 1][j + 1],\n          grid[i][j - 1], grid[i][j], grid[i][j + 1],\n          grid[i + 1][j - 1], grid[i + 1][j], grid[i + 1][j + 1]\n        )\n      );\n    }\n    ans.push(row);\n  }\n  return ans;\n};\n```
['JavaScript']