diff --git a/cheatsheet/snapshot.html b/cheatsheet/snapshot.html index 00a8a4d..76a9136 100644 --- a/cheatsheet/snapshot.html +++ b/cheatsheet/snapshot.html @@ -172,6 +172,10 @@

Lists

Objects

+
obj = object(key1 = value1, …);
+
  create an object with arguments as keys/values
+
obj = object([["key1", value1], …]);
+
  create an object with list as keys/values
var = obj["name"];
  get value from object by string
var = obj.name;