Q. What is the correct syntax for an if statement in JavaScript?

जावास्क्रिप्ट में if स्टेटमेंट के लिए सही सिंटैक्स क्या है?

A
if condition { }
B
if (condition) { }
C
if [condition] { }
D
if {condition} { }

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment