Skip to content

Instantly share code, notes, and snippets.

@FireyFly
Forked from ailabs-software/gist:3136976
Created July 18, 2012 15:41
Show Gist options
  • Save FireyFly/3137013 to your computer and use it in GitHub Desktop.
Save FireyFly/3137013 to your computer and use it in GitHub Desktop.
Is this ECMAScript okay?
var __objectInheritanceCalculated = [];
while((function()
{
/* There is a object class that has not been processed */
var __t = 0;
for (var m in objectclasses) { __t++; }
if (__t <= __objectInheritanceCalculated.length) return false;
return true;
})())
{
for (var m in objectclasses)
{
console.log(m);
__objectInheritanceCalculated.push(m);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment