pros and cons of JavaScript - mmedrano9438/peripheral-brain GitHub Wiki
PROS: it's fast, and easy to learn and implement, does not require heavy software installations or hardware infrastructure to run (less overhead), popular, capability of performing more than one task at the same time (versatility).
CONS: needs browser support, browser interprets JavaScript differently in different browsers. Thus, the code must be run on various platforms before publishing, lack of debugging facility, code is viewable to the user, others may use it for malicious purposes, can only extend single class (single inheritance not multiple inheritance).