Skip to content

Category Archives: JavaScript

jQuery is a powerful JavaScript library. It is more powerful than the JavaScript. The codes of jQuery are more precise, shorter and simpler than the… Read More
The array.flatMap() is an inbuilt function in JavaScript which is used to flatten the input array element into a new array. This method first of… Read More
An ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer. The contents of an ArrayBuffer cannot be directly manipulated and can… Read More
Below is the example of Date toLocaleDateString() method. Example: <script>     var dateObj = new Date();      var options = { weekday: "long",                      year: "numeric",                      month: "short", … Read More
Below is the example of Date toLocaleString() method. Example: <script>     var d = new Date(Date.UTC(2020, 9, 26, 7, 0, 0));     var result = d.toLocaleString();     document.write("Date… Read More
The keypress() method in jQuery triggers the keypress event whenever browser registers a keyboard input. So, Using keypress() method it can be detected if any… Read More
Rest parameter is an improved way to handle function parameter, allowing us to more easily handle various input as parameters in a function. The rest… Read More
Below is the example of Date now() method. Example: <script>      // Use of method Date.now()   var A = Date.now();      // Printing the number… Read More
Below is the example of Array reduceRight() method.  Example:  HTML <!DOCTYPE html> <html>       <head>     <title>         JavaScript Array reduceRight() Method     </title> </head>   <body style="text-align:center;">… Read More
The DataView function in JavaScript provides an interface to read and write more than one number types into an ArrayBuffer. Syntax: new DataView(buffer, byteOffset, byteLength)… Read More
The ArrayBuffer.isView() is an inbuilt function in JavaScript which is used to check whether the given argument for the function is typed array or not.… Read More
The arrayBuffer.byteLength is a property in JavaScript which gives the length of an arrayBuffer in bytes. Syntax: ArrayBuffer.byteLength Parameters: It doesn’t accept any parameter because… Read More
Variable: Variable is a named place in memory where some data/value can be stored. According to the word variable, it can be said that the… Read More
Below is the example of the JavaScript Bitwise Operators. Example: <script>  var a = 4;  var b = 1;     document.write("A & B = "… Read More
Below is the example of the Array keys() method. Example: <script>       // Taking input as an array A     // containing some elements.    var A… Read More