Q. What is the correct syntax for a single-line comment in JavaScript?

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

A
< !-- This is a comment -- >
B
/* This is a comment */
C
# This is a comment
D
// This is a comment

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