Karthikeya Boyini has Published 2193 Articles

Set.entries() function in JavaScript

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 12:50:45

130 Views

The entries() function of the Set returns an iterator object which holds the contents of the current Set. This iterator object returns a pair of values for each entry just like map (key and value). But here, instead of both key and value it returns the element of the set ... Read More

Number.parseFloat() function in JavaScript

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 12:48:30

71 Views

The parseFloat() function of the Number object accepts a string, parses and returns floating point number represented by it.SyntaxIts Syntax is as followsNumber.parseFloat("32.01");Example Live Demo    JavaScript Example           var result = Number.parseFloat("32.01");       document.write(result);     Output32.01

Number.EPSILON Property in JavaScript

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 12:43:46

163 Views

The Number.EPSILON property of the Number object represents the difference between 1 and the smallest floating point number greater than 1.SyntaxIts Syntax is as followsNumber.EPSILONExample Live Demo    JavaScript Example           var result = Number.EPSILON;       document.write("Value of the epsilon : " + result);     OutputValue of the epsilon: 2.220446049250313e-16

Number.isInteger() function in JavaScript

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 12:40:01

80 Views

The isInteger() function of the Number object accepts a number and determines if it is finite number. If the given number is finite it returns true else, it returns false.SyntaxIts Syntax is as followsNumber.isInteger(100/0);Example Live Demo    JavaScript Example           var result = Number.isFinite(100/0); ... Read More

Math.round() function in JavaScript

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 12:38:53

156 Views

The round() function of the Math object accepts a floating point random number and returns its nearest integer value.If the given number is x.5 or more this function returns the next number (x+1)If the given number is x.4 or less this function returns the previous number (x-1).If the given number ... Read More

Math.sqrt() function in JavaScript

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 12:38:10

112 Views

The sqrt() function of the Math object accepts a number and returns the square root value of the given number.SyntaxIts Syntax is as followsMath.sqrt();Example Live Demo    JavaScript Example           var result = Math.sqrt(169);       document.write("Square root value of the given number: ... Read More

Math. hypot() function in JavaScript

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 12:30:51

168 Views

The hypot() function of the Math object accepts numbers and returns the square root of the sum of squares of the given numbers.SyntaxIts Syntax is as followsMath.hypot(12, 58, 66);Example Live Demo    JavaScript Example           var result = Math.hypot(12, 58, 66);       document.write("hypot value: "+result);     Outputhypot value: 88.67919710958147

Math.log1p() function in JavaScript

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 12:28:08

88 Views

The log1p() function of the Math object accepts a number and returns the natural logarithm (base E) of the (given number+1).SyntaxIts Syntax is as followsMath.log1p(48);Example Live Demo    JavaScript Example           var result = Math.log1p(48);       document.write("Result: "+result);     OutputResult: 3.8918202981106265

Math.asinh() function in JavaScript

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 12:25:44

64 Views

The asinh() function of the Math object accepts a number and returns its hyperbolic arc sine value in radians. To convert the resultant value into degrees, multiply it with 180 and divide the result by 3.14159 (pi value).SyntaxIts Syntax is as followsMath.asinh(0.5)Example Live Demo    JavaScript Example   ... Read More

CSS cue-after Property

karthikeya Boyini

karthikeya Boyini

Updated on 25-Jun-2020 12:20:39

83 Views

The cue-after property specifies a sound to be played after speaking an element's content to delimit it from other. The possible values include −url − The URL of a sound file to be played.none − Nothing has to be played.Example    

Advertisements