var arr = []; arr [0] = "1 + 2 "; arr [1] = "3* 2 "; arr [2] = "2+5 "; arr [3] = "1 +2"; arr = arr.map(item => item+"="+eval(item));