Ceci est une ancienne révision du document !
Get the length of an object (ES5) :
var size = Object.keys(myObj).length;
if( typeof google_step != 'undefined')
{
// ...
}
var tmpDisable = {};
var lastTmpDisable = {};
lastTmpDisable = tmpDisable; // Any change made to any of these object will be on both because they're references
// If we declare it this way a new object is created
for(var key in tmpDisable)
{
lastTmpDisable[key] = tmpDisable[key]
}