-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2264715
commit 50b415b
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
print("Error Testing File, Check Source Code"); | ||
|
||
/* Try to Uncomment Each of These: */ | ||
|
||
/* break; */ | ||
/* continue; */ | ||
|
||
/* var test = 0 */ | ||
|
||
/* a = 10; */ | ||
|
||
/* var a = 10; | ||
var a = 20; */ | ||
|
||
/* print("hi" + 10); */ | ||
|
||
/* print(int("hi")); */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
var arr = [3, 1, 2]; | ||
print(arr); | ||
arr.sort(); | ||
print(arr); | ||
arr.reverse(); | ||
print(arr); | ||
arr.insert(1, 4); | ||
print(arr); | ||
print(arr.count()); | ||
arr.clear(); | ||
print(arr); | ||
print(arr.count()); | ||
|
||
var arr2 = arr.copy(); | ||
|
||
var str = " Hello World "; | ||
print(str); | ||
str = str.strip(); | ||
print(str); | ||
str = str.upper(); | ||
print(str); | ||
str = str.lower(); | ||
print(str); | ||
|
||
var arr3 = ["heloo", "hi"]; | ||
var arr4 = ["Helo"]; | ||
arr3.insert(arr4); | ||
arr3.insert([123, 123, 43]); | ||
print(arr3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print("3" < "2"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters