Created
May 11, 2019 19:52
-
-
Save lumosmind/1c803ecd4c32dc27cb435d6634d1e45f to your computer and use it in GitHub Desktop.
JS ile OOP nin 50 tonu: Object Literals
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 o = { | |
x: 42, | |
y: 3.14, | |
f: function() {}, | |
g: function() {} | |
}; | |
console.log(o1); // {w: "lorem ipsum", x: 42, y: 3.14, g: ƒ, h: ƒ} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment