Documente Academic
Documente Profesional
Documente Cultură
Value Types
Misc
Number
parseInt()
String
Boolean
True or False
Null
Object
Function
Operators
x+y
(numeric)
x+y
(string)
x-y
Subtracts y from x
x*y
x/y
Divides x by y
x%y
isNaN()
onmouseout
it to an integer
onselect
setTimeou
t()
onunload
Math.floor
onmove
Math.rand
onmousedo
om
between 0 and 1
wn
down
onmouseup
onmousemo
getElementsByTagName()
getElementById()
getElementsByClassName()
element.in
nerHTML
deType
ildNodes
x--, --x
-x
ildNodes.l
x += y
Same as x = x + y
x -= y
Same as x = x - y
x *= y
Same as x = x * y
x /= y
Same as x = x / y
x %= y
Same as x = x % y
Adding to an array
.length
property
array
push()
ondblclick
in source order.
ength
onclick
onabort
onreset
onkeydown
onkeyup
onkeypress
Event Handlers
Adds one to x
x=y
ve
x++, ++x
Assignments
of an object
number.
onblur
onchange
onclick
onerror
onfocus
onload
onmouseove
object
of an array
unshift()
Sponsored by Readability-Score.com
cheatography.com/pyro19d/
Page 1 of 2.
https://readability-score.com
Comparisons
x == y
x ===
page (cont)
.before()
y
x != y
x !==
y
x>y
x >= y
x<y
x <= y
x &&
.after()
.remove()
:even
and :odd
group
:first and
:last
in a group
:not()
.replace
With()
element
jQuery - other
.addClass
jQuery Filters
:contains
()
specific text
:hidden
:visible
element
y
x || y
!x
shift()
.removeC
lass
an element
.toggleCla
ss()
.css()
.attr()
.text()
.removeAt
tr()
from a tag.
.each()
anonymous function.
.prepend()
Sponsored by Readability-Score.com
cheatography.com/pyro19d/
Page 2 of 2.
https://readability-score.com