Skip to content

Instantly share code, notes, and snippets.

@carbide-public
Created March 11, 2019 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carbide-public/7fddc28bc47b1c3f97c7f85be13b481d to your computer and use it in GitHub Desktop.
Save carbide-public/7fddc28bc47b1c3f97c7f85be13b481d to your computer and use it in GitHub Desktop.
untitled
const data = [
{id: 1, nama: 'wildan'},
{id: 1, nama: 'dika'},
]
const dataLoop = data.forEach(function (value, index) {
return index
})
console.log(dataLoop)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment