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
306 views
0
The Chrome extension cannot set the value of the acquired HTML element to Chrome.storage.

I am creating a Chrome extension, but I would like to retrieve HTML elements and save them to Chrome.storage.For pages with only h1 tags, if you run JavaScript below, >Value is set to <h1>Hel...


1 answers
420 views
0
I want to sort JavaScript objects in reverse order.

JavaScript objects cannot be sorted and reversed.If you are familiar with it, please let me know.There is a function that returns the following objects, and I would like to reverse them in descending ...

1 years ago

1 answers
367 views
0
I want to change the image I clicked.

I would like to change the image I clicked using callback function and animation.With the code below, when I click on the image in the list, the animation is applied, but the image shows the initial v...

1 years ago

1 answers
273 views
0
I want to hit my API with Axios.get

API created successfully.You can retrieve the desired json data from Postman.If you use Axios at the front end, you cannot get it.I looked into it for a while, but I didn't know the cause, so please t...

1 years ago

3 answers
378 views
0
I don't want to substitute anything when arraying with a trinomial operator.

function test(a,b,c){ a[b]=c%2===0? Goose: here!!!!!}In the case of code like the one above, you must always write something to substitute after :, but I don't want to substitute anything.Null and und...

1 years ago

1 answers
400 views
0
How to Configure Cors Error AAccess-Control-Allow-Origin:* 」

When I host an Input Form & HTTP Request program created in HTML and JavaScript to Amazon S3, I get a cors error.I have looked into many things, but I am still not familiar with HTML or JavaScript cod...

1 years ago

2 answers
442 views
0
The context menu generated by addEventListener is not displayed with the first right click.

The source codes below are Javascript, css, and HTML respectively.I would like to right-click the contextmenu1 and contextmenu2 of the id attribute in this HTML.I want contextmenu1 to be displayed whe...

1 years ago

1 answers
337 views
0
I want to do the action of fading in and out of the image when I press the button.

I'd like to try to fade in and out the image when I press the button, but it doesn't seem to connect well.I think I need an id, but how should I type it?The following are the current conditions.As I a...

1 years ago

1 answers
269 views
0
To select two select boxes to display messages, etc.

To select two select boxes to display messages, etc.~I want to complete the fare search program~Now, if you select it in the select box, you will see a message.<script type=text/javascriptlanguage=...

1 years ago

1 answers
339 views
0
Import with import filename from 'folder path';

I saw that the code drawn in React is used as follows, but since the export name is Index, import Index from 'hoge'; looks correct. Can I still use the Index component like <hoge/>?I would appre...

« - 8 - »

© 2024 OneMinuteCode. All rights reserved.