JavaScript quiz question 1 part 7 my entry

in javascriptquiz •  4 years ago 

This is my second entry to JavaScript quiz question no 1 seventh part.

Q 1 ----> part 7 )

a) x-- ;

here the output will be as follow
x is now 20
x is now 19
x is now 18
.
.
.
.
.
x is now 11

after this for loop will not execute as i will be greater than x.

b) x = x-20

output will be x is now 20.

c) x=x-i

here output will be as follow

x is now 20
x is now 20
x is now 19
x is now 17
x is now 14
x is now 10

d) x= x++ + --x

I don't know this part so please tell me the answer for this part.

thank you.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!
Sort Order:  

Congratulations! This post has been upvoted by the @blurtcurator communal account,
You can request a vote every 12 hours from the #getupvote channel in the official Blurt Discord.Don't wait to join ,lots of good stuff happening there.