Menu
Just curious which approach to take, or if there is a suggested best practice…
Usually I have various JavaScript functions for common functionality on my pages (i.e. select all, export, etc.). Typically I will create a common.js file and place these functions within it. Is there any advantage to create a client side object which encapsulates this functionality such that I’d use something like common.SelectAll() or something similar?
Not sure if there is a best practice peeps follow for this or not.
Thanks for any info!