My journal for Code Fellows
<table>
tag is used to create a table<tr>
indicate each row<td>
represents each cell<th>
represents the heading of a colum or row<thead>
heading of long table should be contained within<tbody>
should contain the body<tfoot>
should contain the footer.length
returns number of characters in stringstoUpperCase()
and toLowerCase()
changes string to uppercase and lowercase respectivelycharAt()
returns character found at given indexindexOf()
returns index number of given characterlastIndexOf()
returns index of last instance of given charactersubstring()
returns characters between two indexessplit()
splits string with given character each time its found withintrim()
removes whitespace from start and endreplace()
takes a value that needs to be found and replaces it with given valueisNan()
checks if value is a numbertoFixed()
rounds to specified decimal place and returns stringtoPrecision()
rounds to total number of placestoExponential()
returns strings of number in exponential notationMath.PI
returns piMath.round()
rounds to the nearest integerMath.sqrt(n)
returns square root of given numberMath.ceil()
rounds number upMath.floor()
rounds number downMath.random()
generates random number between 0 and 1