photo

Ali Q


Last seen: 5 years 前 自 2021 起处于活动状态

Followers: 0   Following: 0

统计学

MATLAB Answers

2 个提问
0 个回答

排名
189,687
of 300,942

声誉
0

贡献数
2 个提问
0 个回答

回答接受率
0.0%

收到投票数
0

排名
 of 21,116

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名

of 171,806

贡献数
0 个问题
0 个答案

评分
0

徽章数量
0

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

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 years 前 | 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 years 前 | 0 个回答 | 0

0

个回答