摘要: // 定义: // 声明 // 执行: // 函数名+() // 函数的定义的位置 // 函数的执行的位置 // 位置 // this:执行上下文,this一般存在于函数中,表示当前函数的执行上下文,如果函数没有执行,那么this没有内容,只有函数在执行后this才有绑定 // 执行的位置!!! // 1.默认执行:fn():this指向window,严格模式指向undefined // func 阅读全文
posted @ 2019-09-02 23:46 奋斗,少年。 阅读(248) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{box-sizing: border-box;} #box1{width: 900px;height: 150px;border: 1px solid black;position: relative;} #b 阅读全文
posted @ 2019-09-02 20:16 奋斗,少年。 阅读(153) 评论(0) 推荐(0) 编辑