Created
March 25, 2019 10:14
-
-
Save daoseng33/e968266de67026ec232116153cd5c0df 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
var isLike = false | |
if isLike { | |
fetchDisLikeAPI() | |
} else { | |
fetchLikeAPI() | |
} | |
isLike = !isLike |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment