Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> JavaScript >> Snippet

24 Objects - built-in


String , Math , Date , Array , Location and History are built - in objects

--------- Properties and Methods ---------------------------------------------------------------------

String        Math        Date
Properties  Methods  Properties  Methods  Properties  Methods
-----------    -------    ----------    -------    ----------    -------
length   anchor  abs    none  getDate
big    LN2   acos      getDay
blink   LN10  asin      getHours
bold   LOG2E  atan      getMinutes
charAt   LOG10E  ceil      getMonth
fixed   PI   cos       getSeconds
fontColor  SQRT1_2  exp       getTime
fontSize  SQRT2  floor      getTimeZoneOffset
indexOf      log       getYear
italics      max       setData
astOf      min       setHours
link      pow       setMinutes
small      random      setMonth
strike      round      setSeconds
sub       sin       setTime
substring     sqrt      setYear
sup       tan       toGMTString
toLowerCase
toUpperCase


Location     History
Properties  Methods  Properties  Methods
----------    -------    ----------    -------
hash   reload  length   back
host   replace      forward
hostname         go
href
pathname
port
protocol
search



See individual tutorials on String , Math , Date , and Array objects