Login
Remember
Register
Ask a Question
What are the steps involved in return false usage in Javascript?
0
votes
asked
Oct 3, 2023
in
JavaScript
by
AdilsonLima
What are the steps involved in return false usage in Javascript?
javascript-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 3, 2023
by
AdilsonLima
The return false statement in event handlers performs the below steps,
First it stops the browser's default action or behaviour.
It prevents the event from propagating the DOM
Stops callback execution and returns immediately when called.
...