Questions
JavaScript questions
Choose a question page, learn the concept, then test your understanding with a quiz.
Why Some JSON Responses Start with while(1); in JavaScript
Learn why APIs prepend while(1); to JSON, how it helps prevent JSON hijacking, and what safer modern alternatives exist.
javascriptjsonajaxsecurity
Why `++[[]][+[]] + [+[]]` Returns "10" in JavaScript
Learn why `++[[]][+[]] + [+[]]` evaluates to "10" in JavaScript by understanding coercion, unary plus, increment, and string conversion.
javascriptsyntaxjsfuck
event.preventDefault() vs return false in JavaScript and jQuery
Learn the difference between event.preventDefault() and return false in JavaScript and jQuery, including propagation, defaults, and best practices.
javascriptjqueryevent-handlingdom-events
jQuery .prop() vs .attr(): Understanding Properties and Attributes
Learn the difference between jQuery .prop() and .attr(), when to use each, and why style, checked, and selected behave differently.
javascriptjquerydomattr
Page 6 of 6 - 104 questions
PreviousNext