Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Integer value and IN operator
Message
De
14/03/2016 09:13:30
 
 
À
14/03/2016 05:40:59
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01632871
Message ID:
01633014
Vues:
65
This message has been marked as a message which has helped to the initial question of the thread.
>I think you should start with
>
>	var fetcher = 0;
>
>for this to start with 1:
>
>  		hold[hold.length] = this["prCtr" + fetcher++]; // love this writing!
>
>

Not so, Thierry.

First of all, at this point fetcher was already used by the property test. According to Naomi's specs, the property name is 1-based.

An second, if started with 0, a pre-increment operator should be used, instead of a post-increment, like I did.
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform