create new folder js
This commit is contained in:
parent
e7d4511090
commit
4da9274da6
1 changed files with 10 additions and 0 deletions
10
js/l1.js
Normal file
10
js/l1.js
Normal file
|
|
@ -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]);
|
||||||
Loading…
Reference in a new issue