Skip to content

Commit

Permalink
Add examples folder, and a few javascript input files:
Browse files Browse the repository at this point in the history
  • Loading branch information
dodeca12 committed Jun 26, 2023
1 parent d570d1c commit 1c937e7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/hello-world.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
console.log("Hello world!");

7 changes: 7 additions & 0 deletions examples/variable-assignment.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var variable = "supports var keyword";
let variable2 = "supports let keyword";
const variable3 = "supports const keyword";
var numberAssignment = 1;
let textAssignment = "text";
const booleanAssignment = true;
var arrayAssignment = [1, 2, 3];
7 changes: 7 additions & 0 deletions examples/variable-reassignment.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var variable = "supports var keyword";
variable = "hello"
variable = 1
variable = true
variable = false
variable = [1, 2, 3]
variable = []

0 comments on commit 1c937e7

Please sign in to comment.