Skip to content

Tag Archives: JavaScript-Properties

The visibility property is used to hide or show the content of HTML elements. The visibility property specifies that the element is currently visible on… Read More
The RegExp ignoreCase property in JavaScript is used to specify whether the “i” modifier is set or not. If the “i” modifier is set than… Read More
The source Property in JavaScript is used to return the text of the RegExp pattern. Syntax:  RegExpObject.source Where RexExp refers to the regular expression. Example… Read More
The global Property in JavaScript is used to specify whether the “g” modifier is set or not. If the “g” modifier is set than this… Read More
The lastIndex Property in JavaScript is used to specify the index at which to start the next match. If “g” modifier is not present this… Read More
The multiline Property property in Javascript is used to specify whether the “m” modifier is set or not. If the “m” modifier is set than… Read More
Below is the example of the Error name Property. Example:  JavaScript <script>     try {             eval("alert('GeeksforGeeks)");         }     catch (err) {             document.write( err.name);         } </script> Output: SyntaxError… Read More
The Infinity Property is used to display Infinity when the floating point number’s upper limit is exceeded and -Infinity is displayed when the floating point… Read More
Below is the example of the undefined Property. Example: <script>     var a ="Geeksforgeeks"     function test() {         if (typeof a === "undefined") {             txt = "'a'… Read More
Below is the example of the Date constructor property.   Example: JavaScript <script type = "text/javascript">     var date = new Date();     document.write("Date.constructor:"             + date.constructor); </script>     Output:… Read More
Below is the example of the Error message property. Example:  JavaScript <script>     try {          alert("A computer science portal");         }      catch(err) {          document.write(err.message);         } </script> Output:… Read More
The String constructor property in JavaScript is used to return the string constructor function for the object. The function which is returned by this property… Read More
In JavaScript, the boolean constructor property returns the constructor function for an object.Syntax:   boolean.constructor Parameter: This method does not accept any parameter.  Return value: It… Read More
The JavaScript Array constructor property is used to return the constructor function for an array object. It only returns the reference of the function and… Read More
The mouseEvent altKey property is used to define whether the alt key is pressed or not. It is a boolean value. When alt key is… Read More

Start Your Coding Journey Now!