summary refs log tree commit diff
path: root/examples/3.src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/3.src')
-rw-r--r--examples/3.src10
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/3.src b/examples/3.src
index 4b56092..49a0a52 100644
--- a/examples/3.src
+++ b/examples/3.src
@@ -1,5 +1,9 @@
-let seventeen = 10 + 2 + 4;
+let main = () => {
+	let seventeen = 10 + 2 + 4;
 
-seventeen = seventeen + 1;
+	seventeen = seventeen + 1;
 
-print(seventeen);
+	print(seventeen);
+
+	return seventeen;
+};