• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
有志青年123
博客园    首页    新随笔    联系   管理    订阅  订阅
10 2021 档案
js-var,let ,const 的区别

摘要:变量提升: 在js预编译阶段,函数和变量的声明会被提前检索编译,打乱了编写时的声明顺序。 函数字面量表达式不会被提升 var a = function(){}; ex: console.log(a) var a = 2;//undefined console.log(a)//报错 分为两步进行:1. 阅读全文
posted @ 2021-10-14 17:07 有志青年123 阅读(46) 评论(0) 推荐(0)
js-classList用法学习记录1

摘要:classList introduction: 学习后我的个人理解是,在给html中创建的类一系列操作的方法调用。 detailed method: 网站具体介绍(菜鸟) add:添加类,已有则不添加 contains:判存 返回值:true|flase iteam:通俗的来讲是将类名看作数组,根据 阅读全文
posted @ 2021-10-10 11:12 有志青年123 阅读(180) 评论(0) 推荐(0)
form

摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>form</title></head><body> <h2>text -user-password</h2> <form action=""> user:<inpu 阅读全文
posted @ 2021-10-04 15:20 有志青年123 阅读(154) 评论(0) 推荐(0)
html-list

摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>list</title></head><body> <h2>name</h2> <ol start="1" type="a"> <li>ol</li> <li>ol 阅读全文
posted @ 2021-10-04 14:46 有志青年123 阅读(533) 评论(0) 推荐(0)

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3