![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20805518_1610088781235_DEF.jpg)
Ali Q
Followers: 0 Following: 0
Statistiques
2 Questions
0 Réponses
RANG
73 465
of 292 735
RÉPUTATION
0
CONTRIBUTIONS
2 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.0%
VOTES REÇUS
0
RANG
of 19 936
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 147 901
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
What would be the output of the below code snippet and why ?
var x = 0; a(); function a() { var x = 2; b(); console.log(x); } function b() { x++;...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Could someone please optimize this code? My code:
if (x === 0) { y = y + 2; console.log(y); } else { y = y + 3; console.log(y); }
plus de 3 ans il y a | 1 réponse | 0