Salesforce Platform Developer I (legacy) — Question 234

A developer has JavaScript code that needs to be called by controller functions in multiple Aura components by extending a new abstract component.
Which resource in the abstract Aura component bundle allows the developer to achieve this?

Answer options

Correct answer: A

Explanation

The correct answer is A, helper.js, as it is specifically designed to contain reusable functions that can be accessed by controllers in multiple components. The other options, such as controller.js, are meant for specific component logic and do not serve the purpose of providing shared functionality across different components.