Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript negative infinity

// Using this will gives lowest possible starting point.
// It is useful when initiating a variable that will be compared against negative numbers.
Number.NEGATIVE_INFINITY // Or,
-INFINITY

// The opposite is INFINITY. The largest possible starting point.
Number.POSITIVE_INFINITE // Or,
INFINITY
Comment

JavaScript NEGATIVE_INFINITY

let x = Number.NEGATIVE_INFINITY;
Comment

JavaScript POSITIVE_INFINITY

let x = Number.POSITIVE_INFINITY;
Comment

PREVIOUS NEXT
Code Example
Javascript :: template literal syntax 
Javascript :: react merge two objects 
Javascript :: javascript join address to string 
Javascript :: how to check if email already exists in database using javascript 
Javascript :: ordenar un array de mayor a menor 
Javascript :: how to skip the execution or for loop using continue js 
Javascript :: js ternary else if multi 
Javascript :: change the color of toast toastr js 
Javascript :: javascript hoisting 
Javascript :: laravel vuejs lang 
Javascript :: node-disk-storage npm 
Javascript :: python get value from json 
Javascript :: jquery bootstrap checkbox val 
Javascript :: javascript shift 
Javascript :: window location 
Javascript :: js sort alphabetically 
Javascript :: get url from string javascript 
Javascript :: moves zeroes 
Javascript :: Update matched key values in two JavaScript objects 
Javascript :: How to get previous url in nextjs 
Javascript :: javascript parse date in current timezone 
Javascript :: react-native make android apk 
Javascript :: send audio with socket io node js 
Javascript :: Setting darkmode using Tailwind 
Javascript :: threejs perspectivecamera 
Javascript :: destructured object 
Javascript :: no internet connection html page 
Javascript :: headless ui modal 
Javascript :: find match in array object js 
Javascript :: check if string Array javascript 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =