Driver code
let a = 1 , b = 1 , c = 1 ; let x1 = 1 , y1 = 1 ; let x2 = 2 , y2 = 1 ; if ( pointsAreOnSameSideOfLine ( a , b , c , x1 , y1 , x2 , y2 ) ) document . write ( " " ) ; else document . write ( " " ) ;