/rectangle-intersection

Code for blog post about intersecting rectangles.

Primary LanguageJavaScript

You are given a rectangle's height, width, and the x and y coordinates of its upper left-hand corner. Given two rectangles, write code to indicate when there is an intersection between them.