Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 1.02 KB

File metadata and controls

12 lines (10 loc) · 1.02 KB

lava

Lava is JavaScript that sizzles™ 😉

Operators

Operator & Name itemA #oper #oper itemB itemA #oper itemB
= With key value Not supported Not supported x = 1 replaces state with x equal to 1
! Without key Not supported ! x replaces state without key x Not supported
>> Reference state currentState >> replaces state with currentState referencing prior state, and containing itself in currentState >> currentState replaces state with currentState referencing prior state Not supported
<< Restore state Not supported << currentState replaces state with stored currentState Not supported
>>> Capture state currentState >>> replaces state with blank state containing currentState, and containing itself in currentState >>> currentState replaces state with currentState Not supported