why reversed | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why reversed

why assigning the value reversed? I mean if x=y than the value of X will be the value of Y

19th Aug 2016, 10:15 AM
Shamsad Hossain
Shamsad Hossain - avatar
2 Answers
+ 2
That's the convention used in a number of programming languages, including in Javascript.
19th Aug 2016, 4:10 PM
Zen
Zen - avatar
+ 2
it's kind of writing like we write from left to right.
19th Aug 2016, 7:08 PM
Rohit Doshi
Rohit Doshi - avatar