Mention the functionality which you cannot do with JavaScript

Given below are the things which you cannot do with JavaScript:
  1. JavaScript cannot be forced onto a browser. Since JavaScript runs on client-side, the user has control over it. He can disable JavaScript on his browser or use older version of the browser in which case, JavaScript will not not work.
  2. Same Origin PolicyResources cannot be accessed or modified from another Internet domain with JavaScript, which is known as Same Origin Policy. The JavaScript script can only access resources on the same website.
  3. Server resources (such as databases) cannot be accessed with JavaScript. Since it is a client-side language, it's limited to what can be done on the client.

No comments:

Post a Comment