mirror of https://github.com/japl-lang/japl.git
typos
This commit is contained in:
parent
c31fcd1142
commit
520477656e
|
@ -26,11 +26,11 @@ var a = "global";
|
||||||
var b = "global1";
|
var b = "global1";
|
||||||
{ // open a new scope
|
{ // open a new scope
|
||||||
var b = "local"; // Shadow the global variable
|
var b = "local"; // Shadow the global variable
|
||||||
print(a; // This falls back to the global scope
|
print(a); // This falls back to the global scope
|
||||||
print(b;
|
print(b);
|
||||||
}
|
}
|
||||||
print(a);
|
print(a);
|
||||||
print(b)] // The outer scope isn't affected
|
print(b); // The outer scope isn't affected
|
||||||
|
|
||||||
/*
|
/*
|
||||||
A multiline comment
|
A multiline comment
|
||||||
|
|
Loading…
Reference in New Issue