Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Object JavaScript - What is the value of current?
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