From 81679176a4da676b86360dea8cbd3c1207f94b72 Mon Sep 17 00:00:00 2001 From: Onoshko Dan Date: Sun, 20 Apr 2014 01:04:21 +0700 Subject: [PATCH] Updated. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6dc46687..59a4f2d0 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,13 @@ ColaScript is a language that compiles in JavaScript. This language is similar t bool exist = SOME??; bool exist2 = isset SOME; + +- `clone` + + a = []; + b = []; + Array b = clone a; + b[0] = 584; // a == [] ### Binary @@ -191,7 +198,7 @@ ColaScript is a language that compiles in JavaScript. This language is similar t arr = [1..10]; // [10, 9, 8, 7, 6, 5, 4, 3, 2, 1] ### Functions -- without `function` keyword +- without `function` keyword, status: done void main(){ console.log('Hello World!');