Look at this very little piece of html page with script embedded inside:
<!DOCTYPE html>
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div>TODO write content</div>
</body>
<script>
var j = false;
var t = true;
if (j && t) {
window.alert('false');
}
</script>
</html>
Obviously the body of the "if" is not executed, so no alert is shown.
However, if I put a breakpoint at the "if" line and then I use "step", the conditional seems satisfied because the arrow appears at the left of "window.alert" line (but continuing, no alert is shown, as expected).
Moreover, if I set a breakpoint in "window.alert" line, the breakpoint is fired!
Look at the attached picture.
Is it normal?