Could someone please optimize this code? My code:
Show older comments
if (x === 0) {
y = y +
2;
console.log(y);
}
else {
y = y +
3;
console.log(y);
}
Answers (0)
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!