Make it clearer that `getBreakpoint` cannot return `null`
Reading the code it appeared that `getBreakpoint` could return `null`, but this was not actually the case because the last item in `BREAKPOINTS` always matches. Revise the way `getBreakpoint` works to make it more obvious that it will always return a breakpoint.
Showing
Please register or sign in to comment