Skip to content

Category Archives: JavaScript

The date.getMilliseconds() method is used to fetch the milliseconds from a given Date object. Syntax:   DateObj.getMilliseconds() Parameter: This function does not accept any parameter.  Return… Read More
JavaScript Date getDay() Method is used to fetch the day of a week(0 to 6) from a given Date object. Syntax: DateObj.getDay() Parameter: This method… Read More
The Javascript arrayBuffer.byteLength is a property in JavaScript that return the length of an ArrayBuffer in a byte. ArrayBuffer is an object which is used… Read More
The date.getSeconds() method is used to fetch the seconds from the given Date object according to the local time. The value returned by this method… Read More
Hoisting is a concept that enables us to extract values of variables and functions even before initializing/assigning value without getting errors and this happens during… Read More
The Javascript date.getHours() method is used to return the hours from a given Date object according to the local time (a value ranging from 0… Read More
Any webpage that is loaded in the browser can be represented by the Document interface. This serves as an entry point to the DOM tree… Read More
The Javascript Array.from() method is used to create a new array instance from a given array. In the case of a string, every alphabet of… Read More
The Javascript Date object in JavaScript is used to represent a moment in time. This time value is since 1 January 1970 UTC (Coordinated Universal… Read More
JavaScript String includes() method determines whether a string contains the given characters within it or not. This method returns true if the string contains the characters,… Read More
JavaScript SetTimeout and SetInterval are the only native function in JavaScript that is used to run code asynchronously, it means allowing the function to be… Read More
The date.getMonth() method is used to fetch the month(0 to 11) from the given Date object (0 represents the first month of the year). Syntax:… Read More
JavaScript Date getMinutes() Method is used to fetch the minutes from the given Date object.Syntax: DateObj.getMinutes() Parameter: This function does not accept any parameter. Return… Read More
The Browser Object Model (BOM) is a browser-specific convention referring to all the objects exposed by the web browser. The BOM allows JavaScript to “interact… Read More
JavaScript object.create() method is used to create a new object with the specified prototype object and properties. Object.create() method returns a new object with the… Read More