Implemented logical && and ||

This commit is contained in:
2022-08-23 05:07:17 +01:00
parent 6939b216a9
commit 4f70bea808
5 changed files with 70 additions and 5 deletions

View File

@@ -13,6 +13,8 @@ DONE: truthiness rethink
DONE: string concat with the + operator
DONE: increment & decrement operators
DONE: store compound types in variables
DONE: += -= *= /= %= operators
DONE: && and || operators
TODO: functions take a number of parameters
@@ -23,8 +25,6 @@ TODO: functions are invoked by calling thier names
TODO: functions are first-class citizens
TODO: functions last argument can be a rest parameter
TODO: && and || operators
TODO: += -= *= /= %= operators
TODO: A way to check the type of a variable (typeOf keyword)
TODO: a = b = c = 1; ?
TODO: are compounds shallow or deep copies?