nerdexam
Salesforce

PDII · Question #354

How should a developer reference a third-party JavaScript library from a Lightning component?

The correct answer is A. From a static resource. See the full explanation below for the reasoning.

Question

How should a developer reference a third-party JavaScript library from a Lightning component?

Options

  • AFrom a static resource
  • BFrom a document
  • CFrom an asset file
  • DFrom a third-party URL

How the community answered

(21 responses)
  • A
    76% (16)
  • B
    10% (2)
  • C
    10% (2)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full PDII Practice