Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

var current = null; Everything Javascript Best Practices

150,029 views

Published on

var current = null;
Everything is global
var labels = [
and can be accessed
‘home’:’home’,
‘articles’:’articles’,
‘contact’:’contact’
];
function init(){
};
function show(){
current = 1;
};
function hide(){
show();
};

Published in: Technology
  • Login to see the comments

×