Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 388 Bytes

File metadata and controls

9 lines (5 loc) · 388 Bytes

Walrus Operator

  • The := operator is officially known as the assignment expression operator. During early discussions, it was dubbed the walrus operator because the := syntax resembles the eyes and tusks of a walrus lying on its side. You may also see the := operator referred to as the colon equals operator.

Examples