JavaScript is a multi-paradigm language that supports event-driven, functional, object-oriented, and prototype-based programming styles. JavaScript was initially used only for the client-side but, in ...