Created
December 2, 2014 22:58
-
-
Save devdays/3e43b6a41fa53a964398 to your computer and use it in GitHub Desktop.
Object JavaScript - What is the value of current?
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
var current = null; | |
var labels = [ | |
'home' : 'home', | |
'articles' : 'articles', | |
'contact':'contact' | |
]; | |
function init() { | |
}; | |
function show() { | |
current = 1; | |
} | |
function hide() { | |
show(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment