Created
April 7, 2017 14:58
-
-
Save mvbattan/5659068beacf853188fe90bafa4f5377 to your computer and use it in GitHub Desktop.
keyUtils.js
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
export const keyGen = (serializable, anotherSerializable) => { | |
return `${JSON.stringify(serializable)}-${JSON.stringify(anotherSerializable)}`; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment