Created
May 17, 2018 21:46
-
-
Save josephxbrick/fa6286c86a28889489c84b9093a1b2d5 to your computer and use it in GitHub Desktop.
iterating an object using a lodash function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
artworks = | |
card1: | |
title: "Beach" | |
x: 40 | |
card2: | |
title: "Turtle" | |
x: 50 | |
_.forEach artworks, (value, key) -> | |
print value.title, value.x, key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment