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
St2018St2018 

Is it okay to delete javascript code from visualforce pages in production?

I can't remember if the best practice is  to comment out unused code applied to only Apex or  javascript as well.
Best Answer chosen by St2018
fer rfer r
if it is unused you should delete it