GitHub 博客园 Nanakon

>>>

this.length >>> 0表示什么?

var a = 222
var b = a>>>0
console.log(a, b, typeof(a), typeof(b))
var a = -222
var b = a>>>0
console.log(a, b, typeof(a), typeof(b))
var a = '222'
var b = a>>>0
console.log(a, b, typeof(a), typeof(b))
var a = '222aaa'
var b = a>>>0
console.log(a, b, typeof(a), typeof(b))
var a = [1, 2, 3] 
var b = a>>>0
console.log(a, b, typeof(a), typeof(b))

posted on 2015-04-23 15:37  jzm17173  阅读(100)  评论(0编辑  收藏  举报

导航

轻音