You are on page 1of 2

1) length

2) charAt()
3) charCodeAt()
4) concat()
5) fromCharCode()
6) indexOf()

Both the indexOf(), and the lastIndexOf() methods return -1 if the text is not found. Also

indexOf() and match() are same

7) lastIndexOf()
8) replace()
9) search()
10) split()
11) slice()
12) substr()
13) substring()
14) toLowerCase()
15) toUpperCase()
16) trim() Removes whitespaces in a string
1) parseInt()
2) parseFloat()
1) Math.random()
2) Math.max(param1, param2, param3,,param n)
3) Math.min()
4) Math.ceil()
5) Math.floor()
6) Math.round()
7) Math.pow(x,y) //Power of x raised to y
8) Math.abs(x)

9) Math.sqrt()
10) Math.sin(), Math.cos(), Math.tan(), Math.asin(), Math.acos(), Math.atan()
1) toString()
2) join()
3) push()
4) pop()
5) shift() //Not important
6) unshift() // Not important
7) sort()
8) reverse()
9) slice()

You might also like