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
99 views
0
Array containing http.get results becomes undefined

I want to put the values I got by hitting the API in the array and take them out at any time. const http=axios.create({ baseURL: 'base-url',})vara = [ ]function addArray() { http.get('/hoge/fuga', {da...

2 years ago

1 answers
115 views
0
Unable to get JSON from API server present in Heroku in axios

What do you want to hearI would like to use axios to get JSON from the API server in Heroku.The following error occurred and I cannot...The API server side and client side have not been able to isolat...


1 answers
21 views
0
Slot Machine in Javascript

Let me ask you a question.I'm building a slot machine with Javascript.I don't know how to make the final around or missing decision.Please tell me who it is.javascript// Control the left reelfunction ...

2 years ago

1 answers
81 views
0
I want to create a global chat with discord.js

Global chat on Node.js discord.js (I want to do something that says a on Channel B of A mackerel and a on Channel D of C mackerel, but I can't do it well.Please tell me what's wrong.Code I tried makin...

2 years ago

1 answers
85 views
0
Vue mustache portion not updated

I'm trying to update the display using Vue's monitoring properties, but when I change the text in input, the {{newMessage}} and {{oldMessage}} parts below are not updated. ({{message}} parts are updat...

2 years ago

1 answers
34 views
0
I want to write logs from browser side JavaScript to static site hosting server

I am running JavaScript which is located on the rental server, and I would like to print the value obtained by running JavaScript to the log on the server.As it is a rental server, there are restricti...

2 years ago

1 answers
101 views
0
I want to use Thymeleaf in JavaScript code

I would like to use Thymeleaf in the JavaScript code in HTML.The source code is as follows:More specifically, ${i} is specified in Thymeleaf, so I would like to refer to the contents of the i variable...

2 years ago

1 answers
20 views
0
Understanding JavaScript Behavior on Inactive Tabs

In order to prevent the display of the same feature in the system in more than one tab window, we are implementing the following actions:同 When the second tab is opened with the same function ②US>Show...

2 years ago

1 answers
32 views
0
The javascript accordion does not work with IE11.

$(function(){ // initial open-close state setting $(.accordionbox dt) .filter((i,e)=>isActive($(e).next())) .each(i,e)=>toggle($(e))); $(.accordionbox dt).on(click, function(){ toggle($(this)); ...

2 years ago

1 answers
21 views
0
JavaScript try catch

I don't know where the error is in Javascript, so I would like to implement try catch.I would appreciate it if you could tell me a simple try catch.Thank you for your cooperation.

2 years ago
« - 83 - »

© 2024 OneMinuteCode. All rights reserved.