728x90
SMALL

JavaScript 27

[JavaScript] JavaScript / Functions / Number() / Function that converts a string to a number

#JavaScript #JavaScript / Functions / Number() / Function that converts a string to a number Number() Number() is a function that converts a string to a number. Grammar Number( object ) object: Enter a string or a variable whose value is a string. Returns NaN for values ​​that cannot be converted to a number. example The value of variable c is 12, which is character 1 plus character 2. The value..

Javascript 2022.08.05

[JavaScript] JavaScript / Functions / isNaN() / Function to check if parameter is numeric

#JavaScript #isNaN() isNaN() isNaN() - A function that checks if the parameter is a number (NaN is Not a Number). Grammar isNaN( value ) value: Enter the value to check. Returns true if the parameter is not a number, false if it is a number. example Returns false because 123.123 is a number. '123.123' is quoted but treated as a number and returns false. 'Not a Number' returns true because it is ..

Javascript 2022.08.05

[Javascript] JavaScript / functions / isFinite() / function to check whether the parameter is a finite number

#javascript #isFinite() isFinite() isFinite() is a function that checks if a parameter is finite. Grammar isFinite( value ) value: Enter the value to check. Returns true if the number is finite, false if the number is infinite or not a number. example Returns true since 123.123 is a finite number. Infinity returns false because it is an infinite number. Returns false because Not a Number is a ch..

Javascript 2022.08.04

[JavaScript] JavaScript / Functions / encodeURI(), encodeURIComponent(), decodeURI(), decodeURIComponent()

#JavaScript #avaScript / Functions / encodeURI(), encodeURIComponent(), decodeURI(), decodeURIComponent() encodeURI(), encodeURIComponent(), decodeURI(), decodeURIComponent() encodeURI() : A function that encodes without :, ;, /, =, ?, &, etc. used in internet addresses. encodeURIComponent() : a function that encodes all characters. decodeURI() : A function that decodes a string encoded with enc..

Javascript 2022.08.03
728x90
LIST