Find more freelance jobs
|
characters between the 7th and the 14th.
sup()
Returns the string formatted to superscript: <sup>string</sup> 2.0 3.0
toLowerCase()
Returns the string in lower case
2.0 3.0 1.0
toUpperCase()
Returns the string in upper case
2.0 3.0 1.0
The Array object
Methods
Explanation
NN IE
ECMA
length
Returns number of elements in the array
3.0 4.0 1.0
concat()
Returns an array concatenated of two arrays
4.0 4.0 1.0
join()
Returns a string of all the elements of an array concatenated together 3.0 4.0 1.0 reverse() Returns the array reversed 3.0 4.0 1.0 slice() Returns a specified part of the array 4.0 4.0 sort() Returns a sorted array 3.0 4.0 1.0 The Date Object Methods Explanation NN IE ECMA Date() Returns a new Date object 2.0 3.0 1.0 getDate() Returns the date from a Date object. (1-31) 2.0 3.0 1.0 getDay() Returns the weekday. (0-6) 2.0 3.0 1.0 getMonth() Returns the month. (0-11) 2.0 3.0 1.0 getFullYear() Returns the year. (2000) 4.0 4.0 1.0 getYear() Returns the year as a 4 digit value (or the year as a 2 digit value if the date is before January 1, 2000). Use getFullYear instead !! 2.0 3.0 1.0 getHours() Returns the hour as a value between 0 and 23 2.0 3.0 1.0 getMinutes() Returns the minute. (0-59) 2.0 3.0 1.0 getSeconds() Returns the second. (0-59) 2.0 3.0 1.0 getMilliseconds() Returns the millisecond. (0-999) 4.0 4.0 1.0 getTime() Returns the number of milliseconds since 1/1-1970 2.0 3.0 1.0 getTimezoneOffset() Returns the time difference between the user's computer and GMT 2.0 3.0 1.0 getUTCDate() Returns the date as set by the World Time Standard, UTC = Universal Coordinated Time. To return the local time use the getDate method 4.0 4.0 1.0 getUTCDay() Returns the UTC day 4.0 4.0 1.0 getUTCMonth() Returns the UTC month 4.0 4.0 1.0 getUTCFullYear() Returns the UTC 4 digit year 4.0 4.0 1.0 getUTCHourc() Returns the UTC hour 4.0 4.0 1.0 getUTCMinutes() Returns the UTC minutes 4.0 4.0 1.0 getUTCSeconds() Returns the UTC seconds 4.0 4.0 1.0 getUTCMilliseconds() Returns the UTC milliseconds 4.0 4.0 1.0 |