SalesforceSalesforce
PDI · Question #162
PDI Question #162: Real Exam Question with Answer & Explanation
The correct answer is A: Controllers. In Aura components, JavaScript functions are primarily implemented within the Controller, Helper, and Renderer resources.
Submitted by tyler.j· Apr 18, 2026User Interface
Question
Which three resources in an Azure Component can contain JavaScript functions?
Options
- AControllers
- Bhelper
- CDesign
- DStyle
- ERenderer
Explanation
In Aura components, JavaScript functions are primarily implemented within the Controller, Helper, and Renderer resources.
Common mistakes.
- C. The Design resource (
.designfile) is an XML file for defining component attributes for customization in tools like App Builder; it does not contain JavaScript functions. - D. The Style resource (
.cssfile) is used for defining component styles and appearance; it does not contain JavaScript functions.
Concept tested. Aura component JavaScript resource types.
Topics
#Aura Components#JavaScript#Client-Side Logic#Component Architecture
Community Discussion
No community discussion yet for this question.