28
pt300
7y

Introducing a new javascript functionality:
Relation operators
These help you determine if object is related to other object and in which way (parent, child)
In screenshot a demonstration done on numbers

Comments
  • 4
    For those who haven't seen --> before

    x++ returns x and then increments it. ++x increments x and returns it. Read the code again and see if makes sense now :p

    Hint:
    So a --> b is basically:
    a > b
    a = a - 1
Add Comment