JavaScript Cheat Sheet Free Download

JavaScript cheat sheet for newbies learning JavaScript. This JavaScript cheat sheet is made by DavidChild from cheatography.com

JavaScript Cheat Sheet 

^         Start of string

$         End of string

.         Any single character

(a|b)     a or b

(...)     Group section

[abc]     In range (a, b or c)

[^abc]    Not in range

s         White space

a?        Zero or one of a

a*        Zero or more of a

a*?       Zero or more, ungreedy

a+        One or more of a

a+?       One or more, ungreedy

a{3}      Exactly 3 of a

a{3,}     3 or more of a

a{,6}     Up to 6 of a

a{3,6}    3 to 6 of a

a{3,6}?   3 to 6 of a, ungreedy

 	        Escape character

[:punct:] Any punctu­ation symbol

[:space:] Any space character

[:blank:] Space or tab

 

onabort     onmous­edown

onblur      onmous­emove

onchange    onmouseout

onclick     onmous­eover

ondblclick  onmouseup

ondragdrop  onmove

onerror     onreset

onfocus     onresize
 
onkeydown   onselect

onkeypress  onsubmit

onkeyup     onunload

onload

 

Date()               setMonth()

getDate()            setFul­lYear()

getDay()             setHours()

getMonth             setMin­utes()
  
getFul­lYear          setSec­onds()

getYear              setMil­lis­eco­nds()

getHours             setTime()
  
getMinutes           setUTC­Date()

getSeconds           setUTC­Day()
 
getMil­lis­econds      setUTC­Month()
 
getTime              setUTC­Ful­lYear()
 
getTim­ezo­neO­ffset()  setUTC­Hours()

getUTC­Date()         setUTC­Min­utes()

getUTC­Day()          setUTC­Sec­onds()

getUTC­Month()        setUTC­Mil­lis­eco­nds()

getUTC­Ful­lYear()     toSource()

getUTC­Hours()        toString()
 
getUTC­Min­utes()      toGMTS­tring()

getUTC­Sec­onds()      toUTCS­tring()

getUTC­Mil­lis­eco­nds() toLoca­leS­tring()

parse()              UTC()

setDate()            valueOf()

 

g    Global match

i*   Case-i­nse­nsitive

m*   Multiple lines

s*   Treat string as single line

x*   Allow comments and whitespace in pattern

e*   Evaluate replac­ement

U*   Ungreedy pattern

 

concat()  slice()

join()    sort()
 
length    splice()

pop()     toSource()

push()    toString()

reverse() unshift()

shift()   valueOf()

 

charAt()       slice()

charCo­deAt()   split() x

concat()       substr()

fromCh­arC­ode() substr­ing()

indexOf()      toLowe­rCase()

lastIn­dexOf()  toUppe­rCase()

length         toLoca­leL­owe­rCase()

locale­Com­pare()toLoca­leU­ppe­rCase()

match() x      toSource()

replace() x    valueOf()

search() x

 

compile()   lastParen

exec()      leftCO­ntext

global      multiline

ignoreCase  rightC­ontext

input       source

lastIndex   test()

lastMatch

 

abs()     min()

acos()    NEGATI­VE_­INF­INITY

asin()    PI

atan()    POSITI­VE_­INF­INITY

atan2()   pow()

ceil()    random()

cos()     round()

E         sin()

exp()     sqrt() 

floor()   SQRT1_2

LN10      SQRT2

LN2       tan()

log()     toSource()

LOG10E    toExpo­nen­tial()

LOG2E     toFixed()

max()     toPrec­ision()

MAX_VALUE toString()

MIN_VALUE valueOf()

NaN

 

toSource()     valueOf()

toString()

 

decode­URI()           isNaN()

decode­URI­Com­pon­ent()  Number()

encode­URI()           parseF­loat()

encode­URI­Com­pon­ent()  parseInt()

escape()              String()

eval()                unescape()

isFinite()

JavaScript Cheat Sheet 

Related posts

PHP Cheat Sheet Free Download

MYSQL Cheat Sheet Free Download

HTML Cheat Sheet Free Download

7 comments

psy July 27, 2016 - 11:59 pm
Very poor quality of .pdf file :(
The White Cat July 28, 2016 - 4:26 pm
I don't think so. Click the download link to get better quality
Akshay Chauhan July 26, 2016 - 5:17 pm
how can we used this ??
shahid March 31, 2016 - 7:28 am
too good i learn too with you...can you give me some reference about some tips and clue....plzz i want to cntct with you personally.... but ur contact form not work properly....plzz short out this....
IAmDelirious October 18, 2015 - 6:38 pm
i think this to be counter-productive, but they're just my thoughts....
mukesh October 18, 2015 - 8:23 am
you have done very good work thanks can give also for css
Vasisht Thunga October 18, 2015 - 11:48 pm
Will update soon with CSS

Comments are closed.

Add Comment