Created
July 6, 2021 10:58
-
-
Save abiriadev/e4cdd36041be62ee1eb3f56d761d84cc to your computer and use it in GitHub Desktop.
increaseID.ts
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 default (() => { | |
let id = 0 | |
return () => ++id | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment