Javascript: Using reviver function, I seem can't get to alter all the keys, while concating the numbers
I just want to change all the keys in batchesX. But I can't seem to alter all keys, because of concat. This is what I learned from post . Please advise how I can change all keys with numbers. var batchesX = '[{"batch":"0010002033"},{"batch":"0010001917"},{"batch":"0000020026"},{"batch":"0000017734"},'+ '{"batch":"0000015376"},{"batch":"0000014442"},{"batch":"0000014434"},{"batch":"0000014426"},'+ '{"batch":"0000013280"},{"batch":"0000012078"},{"batch":"0000012075"},{"batch":"0000012072"},'+ '{"batch":"0000011530"},{"batch":"0000011527"},{"batch":"0000011342"},{"batch":"0000010989"},'+ '{"batch