当前位置:网站首页>JS variable

JS variable

2022-07-07 04:50:00 Big bug of xiaofeichan

<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <script>
        //1. Make a statement  age  Variable 
        var age;
        //2. assignment 
        age = 18;
        //3. Output results 
        console.log(age);
        //4. Initialization of a variable 
        var name = 'hzyandwxc';
        console.log(name);
    </script>
</head>
<body>

</body>
</html>

原网站

版权声明
本文为[Big bug of xiaofeichan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130747001005.html