Salesforce
PDII · Question #266
PDII Question #266: Real Exam Question with Answer & Explanation
Sign in or unlock PDII to reveal the answer and full explanation for question #266. The question stem and answer options stay visible for context.
Question
A developer created a JavaScript library that simplifies the development of repetitive tasks and features and uploaded the library as a static resource called jsUtils in Salesforce. Another developer is coding a new Lightning web component (LWC) and wants to leverage the library. Which statement properly loads the static resource within the LWC?
Options
- A<lightning-require scripts=N { ! SReaource. j sUtils}''/>
- Bimport {jsUtilities} from '@salesforce/resourceUrl/jsUtils';
- Cimport jsUtilities from '@salesforce/resourceUrl/jsUtils';
- Dconst jsUtility = $A.get ('$Resource.jsUtils');
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.