New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2B Commerce Developer Topic 6 Question 71 Discussion

Actual exam question for Salesforce's B2B Commerce Developer exam
Question #: 71
Topic #: 6
[All B2B Commerce Developer Questions]

What is one requirement to keep in mind when including additional JavaScript 1h files in a Lightning Web Component?

Show Suggested Answer Hide Answer
Suggested Answer: A

When including additional JavaScript files in a Lightning Web Component, it is required that these files are ECMAScript 6 (ES6) modules and have unique names within the component's folder. This ensures proper module resolution and avoids namespace conflicts. Salesforce LWC documentation provides guidelines on organizing component resources, including JavaScript modules, to ensure they are correctly recognized and utilized within the LWC framework.


Contribute your Thoughts:

Aracelis
1 days ago
Option A sounds right to me. The files have to be ES6 modules and have unique names within the component's folder.
upvoted 0 times
...
Burma
3 days ago
I agree with Almeta, option A seems like the correct answer.
upvoted 0 times
...
Almeta
5 days ago
I think the requirement is that the files must be ES6 modules and have unique names.
upvoted 0 times
...

Save Cancel