Skip to content

Instantly share code, notes, and snippets.

@ravinsinghd
Last active August 16, 2017 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ravinsinghd/a1b9492c0904cdf97c45a97366038c2d to your computer and use it in GitHub Desktop.
Save ravinsinghd/a1b9492c0904cdf97c45a97366038c2d to your computer and use it in GitHub Desktop.
getCounterLimit(limit=10){
return limit
}
validateLimit(getCounterLimit());
// want to overwrite the value for special case
validateLimit(getCounterLimit(15));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment