Created
March 11, 2013 22:33
-
-
Save kmorcinek/5138505 to your computer and use it in GitHub Desktop.
My JavaScript stuff
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
= value || 0; | |
var Tekpub = Tekpub || {};Tekpub.CartItem = function (options, callback) { - namespace | |
dont 'new' 29min. http://www.youtube.com/watch?v=hQVTIJBZook | |
Closure 28min. http://www.youtube.com/watch?v=hQVTIJBZook | |
var value = items["dfs"];if(value === undefined) ... | |
var items = []; instead of 'new Array();' | |
Italic type is used for book titles, emphasis, variables and placeholders, and words used in the literal sense.Boldface type is used for glossary terms. https://developer.mozilla.org/en-US/docs/JavaScript/Guide/About |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment