Updated.
This commit is contained in:
parent
2cff0f2f3e
commit
81679176a4
|
|
@ -14,6 +14,13 @@ ColaScript is a language that compiles in JavaScript. This language is similar t
|
||||||
bool exist = SOME??;
|
bool exist = SOME??;
|
||||||
bool exist2 = isset SOME;
|
bool exist2 = isset SOME;
|
||||||
|
|
||||||
|
- `clone`
|
||||||
|
|
||||||
|
a = [];
|
||||||
|
b = [];
|
||||||
|
Array b = clone a;
|
||||||
|
b[0] = 584; // a == []
|
||||||
|
|
||||||
|
|
||||||
### Binary
|
### Binary
|
||||||
- `**`, status: done
|
- `**`, status: done
|
||||||
|
|
@ -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]
|
arr = [1..10]; // [10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
|
||||||
|
|
||||||
### Functions
|
### Functions
|
||||||
- without `function` keyword
|
- without `function` keyword, status: done
|
||||||
|
|
||||||
void main(){
|
void main(){
|
||||||
console.log('Hello World!');
|
console.log('Hello World!');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user