Created
March 27, 2018 16:49
-
-
Save zaru/a7883f8ac3de0a6737ea472d866ac0ae 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
hoge = { | |
data: [], | |
piyo () { | |
this.data.push('piyo') | |
return this | |
}, | |
get () { | |
return this.data | |
} | |
} | |
hoge.piyo().get() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment