Created
June 4, 2017 21:01
-
-
Save jonsamp/610ffb301cdf89da01f4cc930cadc072 to your computer and use it in GitHub Desktop.
JavaScript Tips Tab: generateTip I
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
function generateTip() { | |
var tip = tipsList[generateNumber()]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
would you need to return the tip?
like
function generateTip() { var tip = tipList[generateNumber()]; return tip; }