Created
November 29, 2018 00:13
-
-
Save cassiozen/595d06c4c5916c806d61b551a31d0229 to your computer and use it in GitHub Desktop.
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
const colors = { | |
"red": 0xff0000, | |
"green": 0x00ff00, | |
"blue": 0x0000ff, | |
"cyan": 0x00ffff, | |
"magenta": 0xff00ff, | |
"yellow": 0xffff00 | |
}; | |
colors.hasOwnProperty("yellow"); // true | |
colors.yellow; // 0xffff00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment