Created
October 30, 2018 01:01
-
-
Save bhaibel/24e286c692397453e8f51d9cfe35101e to your computer and use it in GitHub Desktop.
Metrics & async/await snippet 4
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 | |
await postMetrics('userCheckoutStep3', totalPrice); | |
return totalPrice; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment