Skip to content

Tag Archives: JavaScript-Properties

The mouseEvent ctrlKey property is used to define whether the ctrl key is pressed or not. It is a boolean value. When ctrl key is… Read More
The mouseEvent getModifierState() is used to return the state of specified modifier key which is being held down when the event occurs. It returns true… Read More
The mouseEvent which property is used to return a number which corresponds to the pressed mouse button when a mouse event is triggered Syntax: event.which… Read More
The mouseEvent shiftKey property is used to define whether the shift key is pressed or not. It is a boolean value. When the shift key… Read More
The innerWidth property in JavaScript returns the width and innerHeight property returns the height of window content area.  Syntax: window.innerWidth window.innerHeight Parameter: It doesn’t require… Read More
A network protocol defines rules and conventions for communication between network devices. By adopting these rules, two devices can communicate with each other and can… Read More
The MouseEvent button property is used to define the left or right-click events. When the mouse button is clicked then it returns an integer value… Read More
The Boolean prototype Constructor property is used to add a new property and methods to all Boolean instances. By the time of creating properties ALL… Read More
The date.prototype property represents the prototype for the Date constructor. The prototype allows adding new properties, and methods. Below are examples of Date prototype Property. … Read More
The string.length is a property in JavaScript which is used to find the length of a given string. The string.length property returns 0 if the… Read More
The Javascript arrayBuffer.byteLength is a property in JavaScript which gives the length of an arrayBuffer in bytes.  Syntax: ArrayBuffer.byteLength Parameters: It does not accept any… Read More
Below is the example of the Number.MAX_VALUE & Number.MIN_VALUE Property. Example: <script>  function GFGFun() {      document.write(Number.MAX_VALUE+"<br>");     document.write(Number.MIN_VALUE+"<br>"); }  GFGFun();  </script>  Output : 1.7976931348623157e+308 5e-324 Number.MAX_VALUE… Read More
The Javascript Math.SQRT1_2 is a property in JavaScript which is simply used to find the value of the square root of 1/2, whose value is… Read More
The Math.SQRT2 is a property in JavaScript which is simply used to find the value of the square root of 2, whose value is approximately… Read More
The Math.PI is a property in JavaScript which is simply used to find the value of Pi i.e, in symbolic form Π which is nothing… Read More

Start Your Coding Journey Now!