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


2 answers
70 views
0
I'd like to change the number of columns according to the width of the screen with the image in three horizontal rows.

I'd like to change the number of columns according to the width of the screen with the image in 3 horizontal rows.■What you want to do·I would like to display the image in 3 rows, and if the screen be...

2 years ago

1 answers
88 views
0
Windows.open is not available when iPad Safari/onload.

function test(){ window.open(/xxxxx/TEST.PDF, _blank, );}:<body onload='test();'>:If you use iPad Safari and run the above script, the PDF POPUP screen will not open.(The body online window.open...

2 years ago

1 answers
34 views
0
I want to use the id name of the html element as the function name of the callback function.

When specifying the function funcdog in the callback function, I would like to specify the part of dog using the id name of the html element button.Is this possible? If so, what are the possible ways ...

2 years ago

1 answers
143 views
0
I want JavaScript to download CSV files from UTF-16

I would like to download CSV using JavaScript.I would like to support UTF-16 BOM present, but when I look at the file that I was able to support with the code below, the character code is hexedicimel,...


2 answers
86 views
0
How to enter a regular value in Function#length while specifying the optional argument in TypeScript

In JavaScript (ECMAScript), Function.prototype.length returns the number of required parameters.Function.length-JavaScript|MDNYou can use arguments or rerest parameter を to specify optional arguments ...

2 years ago

1 answers
62 views
0
I want to get multiple json data at the same time through jquery's ajax communication.

I would like to create a function that retrieves multiple json data simultaneously through jquery's ajax communicationPlace the associative array of URLs and parameters in an array request and getData...

2 years ago

1 answers
52 views
0
Use SoundJS in React

I want to use SoundJS using React, but I get an error.I also use PreloadJS to load music files.I am not sure what the error is, so I would appreciate it if you could let me know.It works by scratching...

2 years ago

2 answers
58 views
0
Send a POST request with Basic Authentication in JavaScript

I would like to send a POST request via JavaScript.The header information requested by the server side is as follows:Basic Authentication'Accept' is 'application/json' 'Content-Type' is 'application/j...

2 years ago

1 answers
100 views
0
I want to convert the Promise array into an async generator that will resolve it in the earliest order.

Now, when there is an array of Promise, I would like to wait in the order of the resolve. ES2021 introduced the syntax for wait of, so if you have a function such as a library that converts Promise ar...


2 answers
53 views
0
Understanding Mutations and Actions in vuex

For example, if you keep an array of unique IDs and add/remove them, you will need to determine if they have already been added.I wonder whether I should make this decision with mutation, action, or b...

2 years ago
« - 35 - »

© 2024 OneMinuteCode. All rights reserved.