Is there a smart method for substituting or replacing a value within an array?
For example:
var array = [[1,2,3,'null'],['null',2,3,4],['null','null','null','null'],[1,1,1,1]]
The desired output would be the modified array that I will transfer to a spreadsheet.
[[1,2,3,''],['',2,3,4],['','','',''],[1,1,1,1]]
The actual array is much larger than this and consists of over 1000 lines.