Clear Filters
Clear Filters

Could someone please optimize this code? My code:

1 view (last 30 days)
if (x === 0) {
y = y +
2;
console.log(y);
}
else {
y = y +
3;
console.log(y);
}

Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!