Closed frostburn closed 1 month ago
Python semantics on arrays:
(* Pop the second entry in the current scale and shift subsequent entries back by one. *) delete $[1]
Python/JS semantics on records:
const rec = {foo: 1, bar: 2} delete rec['foo'] (* rec = {bar: 2} *)
Let's call it del instead.
del
Python semantics on arrays:
Python/JS semantics on records: