@@ -1,2 +1,5 @@
-var a;
-a = 4;
+var a = 1;
+var b = false;
+function sum(a, b) {
+ return a + b;
+}
@@ -1,2 +1,9 @@
-let a: number;
+let x: number = 1;
+let y = false;
+
+function sum(a: number,b: number): number{
+let m: 10 | 22 | "ee"; //字面量
+let n: number | boolean; //