Foreach Array Object Javascript Mdn String