Skip to content

Instantly share code, notes, and snippets.

@aalvesjr
Created September 28, 2012 17:52
Show Gist options
  • Select an option

  • Save aalvesjr/3801255 to your computer and use it in GitHub Desktop.

Select an option

Save aalvesjr/3801255 to your computer and use it in GitHub Desktop.
>>> em JS
var t = {}
,length = t.length
// undefined
length
// undefined
var t = {}
,length = t.length >>> 0
// undefined
length
// 0
// Ou
var t = {length:2}
,length = t.length >>> 0
// undefined
length
// 2
t.length
// 2
// * Procurar outras fontes sobre o operador >>> *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment