# JavaScript References

### JavaScript Math sin()

Returns the sine of an angle

### JavaScript Math cos()

Returns the cosine of an angle

### JavaScript Math tan()

Returns the tangent of an angle

### JavaScript Math.abs()

Returns the absolute value of a number

### JavaScript Math.pow()

Returns a number raised to a certain power

### JavaScript Math asin()

Returns the arcsine of a number in radians

### JavaScript Math acos()

Returns the arccosine of a number in radians

### JavaScript Math atan()

Returns the arctangent of a number in radians

### JavaScript Math ceil()

Rounds a number up to the next largest integer

### JavaScript Math floor()

Rounds down a number to the next smallest integer

### JavaScript Math round()

Returns the number rounded to the nearest integer

### JavaScript Math trunc()

Returns the integer part of a number

### JavaScript Math max()

Returns the number with the highest value

### JavaScript Math min()

Returns the number with the lowest value

### JavaScript Math.sqrt()

Returns the square root of a specified number

### JavaScript Math sign()

Returns the sign of a number

### JavaScript Math.log()

Returns the natural logarithm of a number

### JavaScript Math.log2()

Returns the base 2 logarithm of a number

### JavaScript Math.log10()

Returns the base 10 logarithm of a number

### JavaScript Math.log1p()

Returns the natural logarithm of 1 plus number

### JavaScript Math.exp()

Returns e (Euler's number) raised to given power

### JavaScript Math.expm1()

Returns e raised to given power minus 1

### JavaScript Math sinh()

Returns the hyperbolic sine of a number

### JavaScript Math cosh()

Returns the hyperbolic cosine of a number

### JavaScript Math tanh()

Returns the hyperbolic tangent of a number

### JavaScript Math asinh()

Returns the hyperbolic arcsine of a number

### JavaScript Math acosh()

Returns the hyperbolic arc-cosine of a number

### JavaScript Math atanh()

Returns the hyperbolic arctangent of a number

### JavaScript Math atan2()

Returns arctangent of the quotient of arguments

### JavaScript Math.fround()

Returns the 32-bit float representation of number

### JavaScript Math.hypot()

Returns sqrt of the sum of squares of arguments

### JavaScript Math cbrt()

Returns the cube root of a specified number

### JavaScript Math clz32()

Returns num of leading zeros in binary of a number

### JavaScript Math random()

Returns pseudo-random float number between 0 and 1

### JavaScript String length

Returns the number of characters in a string

### JavaScript String replace()

replace a substring/pattern in the string

### JavaScript String indexOf()

Returns the first index of occurrence of a value

### JavaScript String lastIndexOf()

Returns the last index of occurrence of a value

### Javascript String startsWith()

Checks if a string begins with a specified string

### Javascript String endsWith()

Checks if a string ends with a specified string

### Javascript String toUpperCase()

Returns uppercase of a string

### Javascript String toLowerCase()

Returns lowercase representation of a string

### Javascript String includes()

Checks if given string is found inside a string

### JavaScript String repeat()

Returns a string by repeating it given times

### JavaScript String charAt()

Returns character at a specified index in string

### JavaScript String charCodeAt()

Returns Unicode of the character at given index

### JavaScript String fromCharCode()

Returns a string from the given UTF-16 code units

### Javascript String substring()

Returns a specified part of the string

### Javascript String padStart()

Pads a string at the start to a given length

### Javascript String padEnd()

Pads a string at the end to a given length

### JavaScript String codePointAt()

Returns the Unicode point value at given index

### JavaScript String fromCodePoint()

Returns a string using the given code points

### Javascript String match()

Returns result of matching string with a regex

### Javascript String matchAll()

Returns iterator of results matching with a regex

### Javascript String localeCompare()

Compares two strings in the current locale

### Javascript String search()

Searches for specified value in the string

### JavaScript String replaceAll()

Returns string by replacing all matching patterns

### JavaScript String concat()

Concatenates the arguments to the calling string

### JavaScript String split()

Returns the string divided into list of substring

### JavaScript String trim()

Removes whitespace from both ends of a string

### JavaScript String slice()

Extracts and returns a section of the string

### JavaScript Array length

Returns the number of elements in an array

### JavaScript Array reverse()

Returns the array in reverse order

### JavaScript Array sort()

Sorts the elements of an array in specific order

### JavaScript Array fill()

Returns array by filling elements with given value

### Javascript Array join()

Concatenates the array elements to a string

### Javascript Array toString()

Returns the string representation of an array

### JavaScript Array pop()

Removes and returns the last array element

### JavaScript Array shift()

Removes and returns the first array element

### JavaScript Array push()

Adds elements to end of array & returns its length

### JavaScript Array unshift()

Adds elements to start of array and returns length

### JavaScript Array concat()

Returns array by merging given value and/or arrays

### JavaScript Array splice()

Returns an array by changing its elements in place

### JavaScript Array lastIndexOf()

Returns the last index of occurrence of an element

### JavaScript Array indexOf()

Returns the first index of occurrence of element

### JavaScript Array of() Method

Creates a new Array instance from given arguments

### JavaScript Array slice()

Returns a shallow copy of a portion of an array

### JavaScript Array findIndex()

Returns index of element that satisfies condition

### JavaScript Array find()

Returns first element that satisfies a condition

### JavaScript Array includes()

Checks if a value exists in an array

### Javascript Array reduceRight()

Reduces array to single value from right to left

### Javascript Array reduce()

Reduces array to single value from left to right

### Javascript Array isArray()

Checks if the given value is a JavaScript Array

### Javascript Array filter()

Returns array by filtering elements on given test

### JavaScript Array map()

Returns array by mapping elements using given func

### Javascript Array forEach()

Executes the given function on array elements

### Javascript Array some()

Tests if any element passes given test function

### JavaScript Array.every()

Tests if all elements pass the given test function

### Javascript Array entries()

Returns iterator containing key/value pair array

### JavaScript Array keys()

Returns an iterator containing keys of array items

### JavaScript Array values()

Returns iterator containing values of array items

### Javascript Array.from()

Creates a new Array from array-like object

### Javascript Array constructor

Returns the constructor function for the array

### Javascript Array copyWithin()

Copies and overwrites elements within the array

### JavaScript Array.toLocaleString()

Returns string representing the elements of array

### JavaScript Array flat()

Flattens the nested array to given depth

### JavaScript Array flatMap()

Returns new array by mapping and flattening array

### JavaScript Object.toLocaleString()

Returns the string representation of Object

### JavaScript Object.keys()

Returns array of object's enumerable property name

### JavaScript Object.values()

Return array of object's enumerable property value

### JavaScript Object.entries()

Returns array of object's enumerable properties

### JavaScript Object.toString()

Returns a string representing the object

### JavaScript Object.valueOf()

Returns the primitive value of specified object

### JavaScript Object.seal()

Seals the given object

### JavaScript Object.isSealed()

Determines if an object is sealed

### Javascript Object.setPrototypeOf()

Sets prototype of object to another object or null

### JavaScript Object.isPrototypeOf()

Check if object exists in other objects prototype

### JavaScript Object.propertyIsEnumerable()

Checks if the specified property is enumerable

### JavaScript Object.getPrototypeOf()

Returns the prototype of the given object

### Javascript Object.create()

Creates new object from given object as prototype

### JavaScript Object.assign()

Copies all enumerable own properties to an object

### Javascript Object.defineProperties()

Defines properties on an object and returns object

### Javascript Object.defineProperty()

Defines property directly on object and return it

### JavaScript Object.is()

Checks if two values are the same value

### JavaScript Object.freeze()

Freezes and returns an object

### Javascript Object.isFrozen()

Determines if an object is frozen

### JavaScript Object.hasOwnProperty()

Checks if object has a given property as its own

### Javascript Object.preventExtensions()

Prevents new properties from being added to object

### JavaScript Object.isExtensible()

Determines if an object is extensible

### JavaScript Object.fromEntries()

Transforms list of key-value pairs into an object

### JavaScript Object.getOwnPropertyDescriptor()

Returns property descriptor of own property of obj

### JavaScript Object.getOwnPropertyDescriptors()

Returns all own property descriptors of an object

### JavaScript Object.getOwnPropertyNames()

Returns array of all properties found in an object

### JavaScript Object.getOwnPropertySymbols()

Returns array of all symbol properties in object

### JavaScript isFinite()

Checks if the passed value is a finite number

### Javascript isNaN()

Checks if a value is NaN or not

### JavaScript parseInt()

Parses string and returns integer of given radix

### JavaScript parseFloat()

Parses argument and returns floating-point number

### JavaScript Function toString()

Returns source code of function as a string

### Javascript Function.length

Returns the number of parameters of a function

### Javascript Function.name

Returns the name of the given function

### Javascript Function apply()

calls function with this value and array of args

### Javascript Function call()

Calls a function with a given this value and args

### JavaScript Function bind()

Creates new function with given this value & args