JavaScript Date setHours() method The JavaScript date setHours() method is used to set the hour for the specified date on the basis…
javascript math methods
-
-
JavaScript Date valueOf() method The JavaScript date valueOf() method returns the primitive value of a Date object. Syntax The valueOf() method is…
-
JavaScript Math random() method The JavaScript math random() method returns the random number between 0 (inclusive) and 1 (exclusive). Syntax The random()…
-
JavaScript Number toString() method The JavaScript number toString() method converts the given number into the string and returns it. Syntax The toString()…
-
JavaScript Date getDate() method The JavaScript date getDate() method returns the day for the specified date on the basis of local time.…
-
JavaScript Date setMilliseconds() method The JavaScript date setMilliseconds() method is used to set the milliseconds for a specified date on the basis…
-
JavaScript Math abs() method The JavaScript math abs() method returns an absolute value of a given number. The abs() is a static…
-
JavaScript Math round() method The JavaScript math round() method rounds up the given number up to the closest integer value and returns…
-
JavaScript Date getDay() method The JavaScript date getDay() method returns the value of day of the week for the specified date on…
-
JavaScript Date setMinutes() method The JavaScript date setMinutes() method is used to set the minutes for a specified date on the basis…