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

1427 questions


1 answers
62 views
0
How do I record data on my Chrome account's storage with only Javascript in Google Chrome?

We programmed our own statistical record pages in HTML and Javascript jQuery to record them on Chrome's local storage every time we change the numbers (like the following) $('input[name=hoge]').change...


1 answers
105 views
0
Javascript gets in trouble for saying this is undefined.

I am currently a beginner studying JavaScript.The code is debugged below, and letres_=await this.callApi()If the callApi is undefined, you will get in trouble.There is no description of callApi in the...

2 years ago

2 answers
18 views
0
I want to get the index of the elements clicked in JavaScript.

<ul> <li>Chocolate</li> <li>Vanilla</li> <li>Strawberry</li> <li> Bananas</li></ul>When <li> is clicked above, I would like to get wha...

2 years ago

2 answers
20 views
0
How to Look Up Events in js

I'm creating a page, typing text in a text box, and clicking anywhere in the page will erase the contents of the text box, so I'd like to find out what's going on when the cursor moves away from the t...

2 years ago

1 answers
22 views
0
What are the possible reasons for passing "global objects defined in a function" as arguments?

There was a code that passed the global object defined in the function as an argument. What is the possible reason?·Why is it not window or this?· Am I correct in understanding that global objects nee...

2 years ago

1 answers
131 views
0
ChartJS Tooltip callback function does not work.

We use ChartJS to display bar graphs.I defined callbacks in the tooltips property to edit the contents of the tooltips, but The tooltip does not change the contents.Do you know the cause?▼ Execution E...


1 answers
68 views
0
node, javascript error using soket.io [overlapping]

(Two answers) 4 years agoThere is an error in client.js, but I don't know where to fix it.It seems to be an error with the symbol <, but I don't use it anywhere, so it's refreshing.If you are f...


1 answers
17 views
0
Please tell me about JavaScript regular expressions.

Sample Code const path = 'index'; // index may be summary/productconstarray=['index']; // index may be summary/productconst result=array.find(page=>{ if(page===path||`${page}/`===path){ return page...

2 years ago

1 answers
29 views
0
Element retrieved in tagname becomes BODY instead of SELECT

I got b for the pull-down (select tag), so I want it to be b=SELECT, but for some reason it might be b=BODY.When I checked the activeElement specifications on the page below, I found the following:Doc...

2 years ago

3 answers
19 views
0
How should we write down the internal methods that are called only once?

function A(){};A.prototype.a=function(){ // any other treatment // Calling A.prototype._b This._b();};A.prototype._b = function(){};A.prototype._b is used only in A.prototype.a and assumes modules tha...

2 years ago
« - 91 - »

© 2024 OneMinuteCode. All rights reserved.