How to check on Infiniti js : I want to write a duINF function that will check if the value is Infinity.


    console.log(duINF(Infinity))//true
    console.log(duINF(-Infinity))//true

otherwise false.

How to write duINF function.
