We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a456aa2 commit c1b2df5Copy full SHA for c1b2df5
2 files changed
clase_9/index.html
@@ -0,0 +1,13 @@
1
+<html lang="en">
2
+<head>
3
+ <meta charset="UTF-8">
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <script src="script.js"></script>
7
+ <title>Document</title>
8
+</head>
9
+<body>
10
+
11
12
+</body>
13
+</html>
clase_9/script.js
@@ -0,0 +1,20 @@
+const persona = {
+ name: 'Douglas',
+ age: 32,
+ country: 'Ecuador',
+ programming_lenguages: ['Python','JS']
+}
+console.log(persona.name);
+// for(const key in persona){
+// console.log(key);
+// }
+for(const key in persona){
14
+ console.log(`${key} : ${persona[key]}`);
15
16
17
18
+for(const son of persona.programming_lenguages){
19
+console.log(son);
20
0 commit comments