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
127 views
0
return of es6

module.exports={ add:(value1,value2) => return value1+value2 }When I wrote it like this, I got an error, but I don't know why.I turned off the return, but I don't know why it shouldn't be returne...

2 years ago

1 answers
56 views
0
How to use javascript export and import

//./hoge.jsclass HOGE {}class FUGA {}classPIYO{}↑Create a file like this//./fuga.jsimport* from './hoge';// ↑↓ Either way is possibleimport {HOGE, FUGA, PIYO} from 'hoge';↑ I would like to be able to ...

2 years ago

1 answers
103 views
0
Why don't you use addEventListener for onlinestatechange?

readystatechange is an event, so I think I can register using addEventListener, but I think most Ajax samples use the method of replacing it with readystatechange.Is there any reason to avoid it?Becau...

2 years ago

1 answers
24 views
0
How do I convert a label on an axis from decimal to percent in Recharts

I am writing the code while referring to the following site.https://codesandbox.io/s/vigilant-lehmann-82dzz?file=/src/dashboardView.js:1404-1406https://stackoverflow.com/questions/43978473/recharts-no...

2 years ago

2 answers
74 views
0
TokenMissmatchException Error on Cross-Domain External API

Both those who hit and those who receive the API use Ravel as the framework, and they use guzzle to hit the external API.At that time, a tokenMissMatchException error appears because TokenCheck is tur...

2 years ago

1 answers
21 views
0
When calculating the fare using javascript, I would like to make sure that commuter and commuter passes are available in conjunction with the fare when it comes out.

I would like to implement it in JavaScript so that when I select two stations, information such as fares is calculated and displayed.The fare is linked to the distance between the two stations.In the ...

2 years ago

1 answers
89 views
0
I want to create elements that move 10px by dragging.

I want to create dragable elements using javascript (jQuery, etc.), but I don't know how to do it at all.Using the jQuery UI, it is easy to create dragable elements, but what should I do if I want to:...


1 answers
23 views
0
meaning of the Arrow function

I see the following way of writing the Arrow function, but I don't know what it means.Could you tell me the meaning of this Arrow function?.then(server=>{ console.log(server, server); return Promis...

2 years ago

5 answers
41 views
0
Do you have a JavaScript library that provides Ruby-like APIs?

I'm usually used to Ruby, so when I use JavaScript to manipulate arrays, hashes, strings, etc., it's troublesome to look for or implement Ruby's method in JavaScript.So please let me know if there is ...

2 years ago

1 answers
96 views
0
I want to add tabs in OnsenUI to Notepad samples

Thank you for your help.I would like to add a tab sample function to the Notepad sample.<ons-tabbar> <ons-tabicon=home label=Home page=StopWatch.html active=true>/ons-tab> <ons-tabic...

« - 56 - »

© 2024 OneMinuteCode. All rights reserved.