Completed question 15 with a grade of 100% on https://robotsbuildingeducation.com

Given the following code, select all the correct observations about logical errors or improvements:

```javascript

let x = 10;

if (x > 10) {

console.log('Greater than 10');

} else if (x = 10) {

console.log('Equal to 10');

} else {

console.log('Less than 10');

}

``` #LearnWithNostr

Reply to this note

Please Login to reply.

Discussion

No replies yet.