Created
July 5, 2019 08:15
-
-
Save coskuntekin/4935486fc83520ca766161e84740cce0 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
// jshint esversion:6 | |
let data = ''; | |
const getSet = { | |
get: ()=> { | |
return data; | |
}, | |
set: (val)=> { | |
data = val; | |
} | |
}; | |
export { getSet }; | |
import { getSet } from '../lib/getSet'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment