Skip to content

Instantly share code, notes, and snippets.

@ludofleury
Forked from anonymous/gist:1320235
Created October 27, 2011 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ludofleury/1320237 to your computer and use it in GitHub Desktop.
Save ludofleury/1320237 to your computer and use it in GitHub Desktop.
var tabInventaire = new Array ("dague","epee","arc","bouclier", "potion");
var tempInventaire = new Array ();
for (var i = 0; i < tabInventaire.length; i++)
{
if (tabInventaire[i] != "epee" || tabInventaire(i) != "arc")
}
trace(tabInventaire);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment