Created
October 30, 2018 01:02
-
-
Save bhaibel/2fb061fbc64cb0992a5e50165c102b32 to your computer and use it in GitHub Desktop.
metrics & async/await snippet 5
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
async function showPrice(item) { | |
// beginning of function | |
showUserTotal(totalPrice); | |
postMetrics('userCheckoutStep3', totalPrice); | |
return totalPrice; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment