1 résultat trouvé
- 03 nov. 2019, 17:07
- Forum : Javascript
- Sujet : Promise, await/async ou callback
- Réponses : 1
- Vues : 5564
Promise, await/async ou callback
Bonjour à tous, Depuis quelques années, je n'ai pas développé en JS et j'ai besoin de reprendre un script tout simple mais il ne exécute pas dans l'ordre. Le voici : getNotificationSounds2(serialOrName, idSound, callback) { console.log("1"); let result=""; this.getNotificationSounds(serialOrName, (e...