Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
object test
node v10.24.1
version:
master
endpoint
share
tweet
var data = [ { item: "hello world", otheritem: "asdf", }, { item: "hello0 wo0rld", otheritem: "as1df", }, ] for (var i = 0; i < data.length; i++) { for (key in data[i]) { data[i].key = key + "a" console.log(data) } }
Loading…
no comments
sign in
to comment