Skip to content

Tag Archives: JavaScript-Properties

In JavaScript, NEGATIVE_INFINITY is a property of number object which represents negative infinity (-Infinity). It can be explained as a number that is lower than… Read More
Function.length property of the function object in Javascript is used to return the number of parameters required by a function. Syntax: function.length Parameters: This method… Read More
In JavaScript, NaN stands for Not a Number. It represents a value which is not a valid number. It can be used to check whether… Read More
The onmouse event is used to define the operation using mouse. onmouse events in JavaScript are: onmouseover and onmouseout onmouseup and onmousedown onmouseenter and onmouseleave… Read More
Below is the example of the Number Positive_INFINITY property. Example: <script> var a = Number.POSITIVE_INFINITY; document.write(a * 10); </script> Output: Infinity In javascript Number.POSITIVE_INFINITY represents… Read More
Below is the basic example of Function.displayName property.     <script>     function func1(){}     func1.displayName="someName"     console.log(func1.displayName) </script> Output: someName The Function.displayName property in JavaScript is used to… Read More
The function.caller property of the JavaScript function object returns the function that invoked the specified function. It returns null if the function “f” was invoked… Read More
The new.target pseudo-property let us detect whether a function or constructor is called with the help of new operator or not. Syntax: new.target The following… Read More
Below is a Basic example of Function name Property. Example:  Javascript <script>   // Creating function name func1   function func1(){   }   document.write(func1.name) </script> Output: func1 The… Read More
The Symbol.unscopables property in Javascript is a well-known symbol that is used to specify an object value of whose own and inherited property names are… Read More
The Symbol.split property in JavaScript is a well-known symbol which is used to specify the method that splits a string at the indices that match… Read More
The Symbol.search property in JavaScript is a well-known symbol determines the method that returns the index within a string that matches the regular expression. This… Read More
The Symbol.match property in JavaScript is a well-known symbol which is used to identify the matching of a regular expression against a string and this… Read More
The Symbol.replace property in JavaScript is well-known symbol that is used to determine the method that replace the matched substring of a string. This function… Read More
A RegEx is the short form of the Regular Expression, which is the sequence of characters that define a pattern. The characters in a RegEx… Read More

Start Your Coding Journey Now!