list of some inbuilt function of js

Photo by Andrew Neel on Unsplash

list of some inbuilt function of js

·

2 min read

String functions:

  • charAt()

  • charCodeAt()

  • concat()

  • includes()

  • endsWith()

  • indexOf()

  • lastIndexOf()

  • localeCompare()

  • match()

  • replace()

  • search()

  • slice()

  • split()

  • startsWith()

  • substring()

  • toLowerCase()

  • toLocaleLowerCase()

  • toUpperCase()

  • toLocaleUpperCase()

  • trim()

Number functions:

  • toString()

  • toFixed()

  • toExponential()

  • toPrecision()

  • valueOf()

Array functions:

  • concat()

  • copyWithin()

  • entries()

  • every()

  • fill()

  • filter()

  • find()

  • findIndex()

  • forEach()

  • includes()

  • indexOf()

  • join()

  • keys()

  • lastIndexOf()

  • map()

  • pop()

  • push()

  • reduce()

  • reduceRight()

  • reverse()

  • shift()

  • slice()

  • some()

  • sort()

  • splice()

  • toString()

  • unshift()

  • values()

Math functions:

  • abs()

  • acos()

  • asin()

  • atan()

  • atan2()

  • ceil()

  • cos()

  • exp()

  • floor()

  • log()

  • max()

  • min()

  • pow()

  • random()

  • round()

  • sin()

  • sqrt()

  • tan()

Date functions:

  • getDate()

  • getDay()

  • getFullYear()

  • getHours()

  • getMilliseconds()

  • getMinutes()

  • getMonth()

  • getSeconds()

  • getTime()

  • getUTCDate()

  • getUTCDay()

  • getUTCFullYear()

  • getUTCHours()

  • getUTCMilliseconds()

  • getUTCMinutes()

  • getUTCMonth()

  • getUTCSeconds()

  • setDate()

  • setFullYear()

  • setHours()

  • setMilliseconds()

  • setMinutes()

  • setMonth()

  • setSeconds()

  • setTime()

  • setUTCDate()

  • setUTCFullYear()

  • setUTCHours()

  • setUTCMilliseconds()

  • setUTCMinutes()

  • setUTCMonth()

  • setUTCSeconds()

  • toDateString()

  • toISOString()

  • toJSON()

  • toLocaleDateString()

  • toLocaleTimeString()

  • toLocaleString()

  • toString()

  • toTimeString()

  • toUTCString()

  • valueOf()