Last active
August 29, 2015 14:05
-
-
Save Hollyw00d/d558e572e81424c4bfde to your computer and use it in GitHub Desktop.
Assign Function to Variable or Not
This file contains hidden or 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
// Code 1 | |
var doStuff = function() { | |
// More code here | |
}; | |
// Code 2 | |
function doStuff() { | |
// More code here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment