Created
September 29, 2015 16:10
-
-
Save ksol/3e1a282a5043ee914b18 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // This | |
| export default Component.extend({ | |
| value: 1 | |
| }) | |
| // Is pretty much the same as | |
| var x = 1; | |
| export default Component.extend({ | |
| value: x | |
| }) | |
| // For integers, it will probably never be a problem. BUT for objects, we end with... | |
| var x = []; | |
| export default Component.extend({ | |
| value: x | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment