Which of the following is a disadvantage of using javascript
Asked by admin @ in Computer Science viewed by 287 People
What is javascript? What are the advantages and disadvantages of javascript?
Asked by admin @ in Computer Science viewed by 287 People
What is javascript? What are the advantages and disadvantages of javascript?
Answered by admin @
Advantages of JavaScript
Speed. Client-side JavaScript is very fast because it can be run immediately within the client-side browser. Unless outside resources are required, JavaScript is unhindered by network calls to a backend server. It also has no need to be compiled on the client side which gives it certain speed advantages (granted, adding some risk dependent on that quality of the code developed).
Simplicity. JavaScript is relatively simple to learn and implement.
Popularity. JavaScript is used everywhere in the web. The resources to learn JavaScript are numerous. StackOverflow and GitHub have many projects that are using Javascript and the language as a whole has gained a lot of traction in the industry in recent years especially.
Interoperability. JavaScript plays nicely with other languages and can be used in a huge variety of applications. Unlike PHP or SSIscripts, JavaScript can be inserted into any web page regardless of the file extension. JavaScript can also be used inside scripts written in other languages such as Perl and PHP.
Server Load. Being client-side reduces the demand on the website server.
Rich interfaces. Drag and drop components or slider may give a rich interface to your website.
Extended Functionality. Third party add-ons like Greasemonkey enable JavaScript developers to write snippets of JavaScript which can execute on desired web pages to extend its functionality.
Versatility. Nowadays, there are many ways to use JavaScript through Node.js servers. If you were to bootstrap node.js with Express, use a document database like mongodb, and use JavaScript on the front-end for clients, it is possible to develop an entire JavaScript app from front to back using only JavaScript.
Updates. Since the advent of EcmaScript 5 (the scripting specification that Javascript relies on), Ecma International has dedicated to updating JavaScript annually. So far, we have received browser support for ES6 in 2017 and look forward to ES7 being supported in future months.
Disadvantages of JavaScript
Client-Side Security. Because the code executes on the users’ computer, in some cases it can be exploited for malicious purposes. This is one reason some people choose to disable Javascript.
Browser Support. JavaScript is sometimes interpreted differently by different browsers. Whereas server-side scripts will always produce the same output, client-side scripts can be a little unpredictable. Don’t be overly concerned by this though - as long as you test your script in all the major browsers you should be safe. Also, there are services out there that will allow you to test your code automatically on check in of an update to make sure all browsers support your code.
l hope mark brainlest answer
Asked by admin @ in Business viewed by 317 persons
Asked by admin @ in Law viewed by 375 persons
Asked by admin @ in Physics viewed by 328 persons
Asked by admin @ in Math viewed by 336 persons
Asked by admin @ in Computer Science viewed by 372 persons
Asked by admin @ in Computer Science viewed by 327 persons
Asked by admin @ in English viewed by 456 persons
Asked by admin @ in Business Studies viewed by 271 persons
Asked by admin @ in Biology viewed by 378 persons
Asked by admin @ in Business viewed by 339 persons
Asked by admin @ in English viewed by 398 persons
Asked by admin @ in Physics viewed by 569 persons
Asked by admin @ in English viewed by 400 persons
Asked by admin @ in Computer Science viewed by 334 persons
Asked by admin @ in English viewed by 406 persons
Asked by admin @ in Computer Science viewed by 19017 persons
Asked by admin @ in Computer Science viewed by 15804 persons
Asked by admin @ in Computer Science viewed by 10968 persons
Asked by admin @ in Computer Science viewed by 10400 persons
Asked by admin @ in Computer Science viewed by 8134 persons
Asked by admin @ in Computer Science viewed by 7839 persons
Asked by admin @ in Computer Science viewed by 6483 persons
Asked by admin @ in Computer Science viewed by 5787 persons
Asked by admin @ in Computer Science viewed by 5690 persons
Asked by admin @ in Computer Science viewed by 5473 persons
Asked by admin @ in Computer Science viewed by 4979 persons
Asked by admin @ in Computer Science viewed by 4969 persons
Asked by admin @ in Computer Science viewed by 4681 persons
Asked by admin @ in Computer Science viewed by 4485 persons