why we used of double exclamation in js code example
Example: es6 what is double exclamation operator
!oObject // inverted boolean
!!oObject // non inverted boolean so true boolean representation
!oObject // inverted boolean
!!oObject // non inverted boolean so true boolean representation