Skip to content

Category: javascript lessons

JavaScript Let,Var and Const

JavaScript Let,Var and Const

In ES6, a new way to define the variable is const and let keywords. Before ES6, developers used "var" to report different variables.


JavaScript Date.setTime()

Javascript Date setTime() method sets the Date object to the time represented by a number of milliseconds since January 1, 1970, 00:00:00 UTC.


JavaScript Date.setHours()

The JavaScript Date setHours () method is a built-in function. Sets the time of a specific date according to local time


JavaScript Date.setDate()

The JavaScript Date setDate () method is a built-in function. This metadata sets the day of the month for a specific date by local time.