-
-
Save FlorianRappl/4522c60c35669940a6d7d0f13c81dc48 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 data = {}; | |
window.getData = name => data[name]; | |
window.setData = (name, value) => (data[name] = value); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment