ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
~~~ <title>Document</title> </head> <body> <script> /* json */ var cheng = { name:"chengchao", age:30, sex:"男" } /* 读取对象的属性值 */ console.log(cheng.age) /* Number,String,Boolean Array,Object,Function if-else for if -else if -else */ </script> </body> ~~~