Feeds
질문
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++;...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
Could someone please optimize this code? My code:
if (x === 0) { y = y + 2; console.log(y); } else { y = y + 3; console.log(y); }
대략 5년 전 | 답변 수: 0 | 0