javascript tag

JavaScript (/ˈdʒɑːvəskrɪpt/), often abbreviated JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of websites use JavaScript on the client side for web page behavior, often incorporating third-party libraries. All major web browsers have a dedicated JavaScript engine to execute the code on users' devices.

JavaScript is a high-level, often just-in-time compiled language that conforms to the ECMAScript standard. It has dynamic typing, prototype-based object-orientation, and first-class functions. It is multi-paradigm, supporting event-driven, functional, and imperative programming styles. It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM).

The ECMAScript standard does not include any input/output (I/O), such as networking, storage, or graphics facilities. In practice, the web browser or other runtime system provides JavaScript APIs for I/O.

JavaScript engines were originally used only in web browsers, but are now core components of some servers and a variety of applications. Two of the most popular runtime systems for this usage are Node.js and Deno.

Although Java and JavaScript are similar in name, syntax, and respective standard libraries, the two languages are distinct and differ greatly in design.

Reference: WIKIPEDIA

465 questions


1 answers
1 views
0
What is the most effective way to store user information in an app?

I'm making an app. When I log in to the server, I use the user's name and password, but it's annoying to enter the password every time, so I made a password as an option. I tried to use SharedPreferen...


3 answers
1 views
0
I'd like to make a document on the web like the PPT of Google Docs

I would like to make something that moves, edits, and saves stencils and letters on the web screen as shown below.I looked for similar open sources and opened the sources of each service, but I can't ...


1 answers
0 views
0
To detect when a user moves back in a web browser

I want to give you an alert when the user goes back in the web browser.How can I detect it when I go backwards?

6 days ago

1 answers
1 views
0
Why do you write 'type="text/javascript" in JavaScript?

I'm a beginner who just started studying JavaScript. You'll find out later, but I'm asking you a question here because I'm curious. I added javascript to html file and wrote the following code as belo...

6 days ago

1 answers
0 views
0
Ask how to set the ExtJs table item width.

I want to set the width of each of the items in the table and use it. I want to use columns, but I want to adjust the width only. layout: { type: 'table', columns : '3', }, items : [ { ...

6 days ago

1 answers
2 views
0
How do I check whether the element is hidden or invisible in jquery?

You can see and not see elements in jquery with a .hide(), .show(), or .toggle(). Then, how do I know if I can see the element now or not by using jquery?

6 days ago

1 answers
0 views
0
How do I copy from JavaScript to the clipboard?

What is the best way to make a clipboard copy in a multi-browser environment?function copyToClipboard(text) { if (window.clipboardData) { // Internet Explorer window.clipboardData.setData("Text", te...

6 days ago

1 answers
1 views
0
For-each syntax in JavaScript

In Java, there's the same for syntax at the bottom. String[] myStringArray = {"Hello","World"}; for(String s : myStringArray) { //Do something } Is this not available in JavaScript?


1 answers
2 views
0
How to get the current date from JavaScript

How do I get the current date from JavaScript?

6 days ago

1 answers
1 views
0
jQuery is the best way to determine if it's a mobile device

How do I check if it is a mobile device in jQuery?

6 days ago
- 1 - »

© 2022 pinfo. All rights reserved.