Created
May 5, 2016 09:05
-
-
Save pjazdzewski1990/262c764ad80580370d775320436601cd 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
function pureFunction(a) { | |
return a * 2; | |
} | |
var c = 6; | |
function impureFunction(a) { | |
return c * a; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment