User Picture phero
Post Content
User Picture phero
Post Content

Liked posts

Reported posts

Questions & Answer

JavaScript is client-side scripting interpreted language and it is the most efficient, commonly used scripting language. It's run at the client-side or on the client machine which is inside the web-browsers, but the client's web-browser also needs to support the JavaScript or it must be JavaScript enabled this is one of the most important things. Nowadays, modern web browsers support JavaScript and they run it by JavaScript engines. For example, Google Chrome has a JavaScript engine it's called V8. We can write javascript in an HTML file inside the script element or we can write in a dedicated file and embedded to it when the browser gets javaScript code, it is sent to the JavaScript engine and this engine executes the code to the machine language and shows the output.

Session Storage:

The sessionStorage object storage which is stores data only for a session, that's means the data is stored until the browser (or tab) is closed. Stored data in the sessionStorage object is initially accessible only from the page when the pager tab is opened. its data store capacity 5MB. This data is never transfer to the server.

Local Storage:

The localStorage store's object data until the user clears the browser's cache or is specifically removed via JavaScript. It can be accessible after closing the browsers or tab. also we can use it until it is removed. its data store capacity 10MB. if we need, we can transfer this data to saver.