JS Coding Questions Logo
JS Coding Questions
#105💼 Interview

What are the steps involved in return false usage

Advertisement

728x90

The return false statement in event handlers performs the below steps,

1. First it stops the browser's default action or behaviour.

2. It prevents the event from propagating the DOM

3. Stops callback execution and returns immediately when called.

Advertisement

Responsive Ad
🎯 Practice NowRelated Challenge

JavaScript Coding Exercise 20

Test your knowledge with this interactive coding challenge.

Start Coding

Advertisement

728x90
105of476