While I'm learning how to debug JavaScript using the Sources panel from Chrome Developers
I noticed in both the video and the article that when they go to Event Listener Breakpoints > Mouse then check the click breakpoint.
the DevTools paused on the first line of the function definition when they clicked the button
function onClick() {
However, when I did the same on the same demo either in the default or incognito mode, the DevTools paused on the second line of the function definition
if (inputsAreEmpty()) {
So is this the new behavior of the Mouse Event Listener click breakpoint or is there something that I messed with settings that I have to change?