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
46 views
0
I would like to know the best practices for importing es6 modules to global.

I implement js using babelify.Among them, when using libraries such as react, underscore, and jquery, I think it is often used throughout the application.How should I deal with this global use?When im...

2 years ago

1 answers
95 views
0
I'd like to see the formula written on Next.js blog katex.

I used remark to handle the md file, so I installed remark-math in accordance with the documentation, but now I have imported the module in import, and is it possible for Next.js to import this module...


1 answers
86 views
0
How to retrieve data using $.ajax or $.get

When I wrote the following script in jQuery, the results were as follows://jQuery Description$(.Content).load(data/test.txt);$.get(data/test.txt, function(data,status){ $(.Content).append(data);}, txt...

2 years ago

1 answers
75 views
0
Should I write the conditional branch using Ajax results in done?

I would like to display the results of the inspection with Ajax, but I would like to apply the conditions of the JavaScript switch statement based on the results from the server. Is the switch stateme...

2 years ago

1 answers
85 views
0
"content_scripts" does not respond when page changes

I'm creating extensions for YouTube, and I wrote the following in manifest:content_scripts:[ { matches: [ https://www.youtube.com/* ], js: [ content_script.js ] }],When I opened the youtube.com ...


1 answers
65 views
0
IME Prediction Conversion Control in javascript

From Win10, predictive input candidates are now automatically displayed during text entry.When typing characters into elements with textarea or contentable=true set.Is it possible to hide IME predicti...

2 years ago

1 answers
36 views
0
I want to prevent the javascript of the description from working after pressing the Back button on my browser (on reload).

<script>varflg = true;setTimeout(redirect(), 1000);function redirect() { if(flg){ flg = false; location.href='http://www.yahoo.co.jp/'; }}</script>I wrote the above javascript in index.htm...

2 years ago

1 answers
87 views
0
I want to close a specific socket

This is the person who creates the chat application in NodeJS (SocketIO).We use the following methods to send to specific users:io.to(socket.id).json.emit('message',message);How do I close a socket fo...


1 answers
77 views
0
Understanding Unit Tests for sails.js

I asked a question at the head office, but I would also like to ask a question in the Japanese version.I am currently creating a web application using sails.js.By default, sails.js does not have a tes...

2 years ago

1 answers
121 views
0
Websocket Connection Disconnects Quickly in JavaScript

I would like to connect to the Websocket server via JavaScript, but the connection will be cut off as soon as I connect.If you look at the console, as soon as the page is loaded, you will see Open and...

2 years ago
« - 84 - »

© 2024 OneMinuteCode. All rights reserved.