Q. What is the default way to export a single function from a module?

किसी मॉड्यूल से एकल फ़ंक्शन को निर्यात करने का डिफ़ॉल्ट तरीका क्या है?

A
export function myFunc() {}
B
export default function myFunc() {}
C
export myFunc();
D
function myFunc() export default;

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