第11次作业

这个作业属于哪个课程 https://edu.cnblogs.com/campus/sdscfz/SF4
这个作业要求在哪里 https://edu.cnblogs.com/campus/sdscfz/SF4/homework/12964
这个作业的目标 第十一次作业
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
function Person(name,age,sex,hobby){

this.name = name;

this.age = age;

this.sex = sex;

this.hobby = hobby;

}

var tony = new Person('陈启瑞','19','男','无');

let time = new Date()

console.log(time.toLocaleString());

console.log(tony.name);

console.log(tony.age);

console.log(tony.sex);

console.log(tony.hobby);

    </script>

    
<h1>单机按钮显示</h1>
<button>按钮:</button>
</body>
</html>


posted @ 2023-05-19 22:43  shsbbbs  阅读(8)  评论(0编辑  收藏  举报