JavaScript Built-in Objects
In this lesson you will learn JavaScript Built-in Objects. JavaScript built-in object contains Array, String, Date/time.
JavaScript Built-in Objects
Object | Methods | Description |
---|---|---|
Array Object | concat() | Concate the two or more string. |
join() | join the two or more array string. | |
reverse() | reverse the array string. | |
toString() | Convert the array into string array. |
Object | Methods | Description |
---|---|---|
String Object | anchor() | Create an Anchor. |
big() | Big Font display into string. | |
bold() | bold style display into string. | |
fixed() | fixed font display into string. | |
FontColor() | Font Color display into string. | |
FontSize() | Font Size display into string. | |
italic() | italic style display into string. | |
link() | link display into string. | |
small() | small text display into string. | |
strike() | strike text display into string. | |
sub() | sub style display into string. | |
sup() | sup style display into string. | |
toLowerCase | toLowerCase text display into string. | |
toUpperCase | toUpperCase text display into string. |
Object | Methods | Description |
---|---|---|
Date/time Objects | getDate() | Get the Date of the Month. |
getDay() | Get the Day of the Week. | |
getFullYear() | Get the Full Year in four Digit. | |
getHours() | Get the Hours between 0 to 23. | |
getMilliseconds() | Get the Milliseconds between 0 to 999. | |
getMinutes() | Get the Minutes between 0 to 59. | |
getMonth() | Get the Month between 0 to 11. | |
getSeconds() | Get the Seconds between 0 to 59. | |
getTime() | Get the Milliseconds since Jan 1, 1970. | |
|
|
|
getUTCDate() | Get the Universal Time Date of the Month. | |
getUTCFullYear() | Get the Universal Time Full Year in four Digits. | |
getUTCHours() | Get the Universal Time Hours between 0 to 23. | |
getUTCMilliseconds() | Get the Universal Time Milliseconds (0 to 999). | |
getUTCMinutes() | Get the Universal Time Minutes between 0 to 59. | |
getUTCMonth() | Get the Universal Time Month between 0 to 11. | |
getUTCSeconds() | Get the Universal Time Seconds between 0 to 59. | |
|
|
|
setDate() | Set the Date of the Month. | |
setFullYear() | Set the Full Year in four Digit. | |
setHours() | Set the Hours between 0 to 23. | |
setMilliseconds() | Set the Milliseconds between 0 to 999. | |
setMinutes() | Set the Minutes between 0 to 59. | |
setMonth() | Set the Month between 0 to 11. | |
setSeconds() | Set the Seconds between 0 to 59. | |
setTime() | Set the Milliseconds since Jan 1, 1970. | |
|
|
|
setUTCDate() | Set the Universal Time Date of the Month. | |
setUTCFullYear() | Set the Universal Time Full Year in four Digits. | |
setUTCHours() | Set the Universal Time Hours between 0 to 23. | |
setUTCMilliseconds() | Set the Universal Time MilliSeconds (0 to 999). | |
setUTCMinutes() | Set the Universal Time Minutes between 0 to 59. | |
setUTCMonth() | Set the Universal Time Month between 0 to 11. | |
setUTCSeconds() | Set the Universal Time Seconds between 0 to 59. | |
|
|
|
toString() | Converts the Date object into string. | |
toUTCString() | Converts the Date object into Universal Time string. |