热门

最新

红包

立Flag

投票

同城

我的

发布
vrdfds
Cyrus Xin
3 年前
truevrdfds

学习

c语言合法自定义标识符_计算机二级C语言干货来了

CSDN App 扫码分享
分享
1
点赞
打赏
  • 复制链接
  • 举报
下一条:
toString()方法 和this指向JavaScript中定义了其中数据类型 Boolean number string undefined null symbol object 除了undefined和null类型外 都有toString() 方法this的指向1 严格模式下全局作用域中的this指向window对象‘use strict’console.log(this === window) // true2 严格模式下在全局作用域中函数的this指向undefined ,反之指向window例子: // 'use strict' function fn() { console.log('fn 中的this', this); function fn2() { console.log('fn2中的this', this); } fn2() } fn()
立即登录