+ Start a Discussion

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) 

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!