function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
admintrmpadmintrmp 

External JavaScript - does it need testing?

We are planning on implementing a large amount of JavaScript into our application. From what I can remember, I believe that JavaScript (in it's own .js file) cannot be implemented internally into the application and needs to be done externally.

 

Am I wrong about this and does this code need to be tested if it's done on an external server?

Best Answer chosen by Admin (Salesforce Developers) 
javierjiesjavierjies

Hi! You can use Javascript from an externa server, wrote in  a VF Page, or even referenced from Static Resources.

 

Answering your question; You don't have to test it!