浏览代码

create new folder js

root 1 月之前
父节点
当前提交
4da9274da6
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      js/l1.js

+ 10 - 0
js/l1.js

@@ -0,0 +1,10 @@
+let x = {
+    name: "Алеша",
+    age: 25
+}
+x.city = "ДА";
+console.log(x.age);
+console.log(x.name);
+console.log(x.city);
+let al = ["яблоко", "человек", "бананы"];
+console.log(al[1]);