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

1425 questions


1 answers
281 views
0
A program for determining that bingo of a word bingo of a game in which each square of a game called a bingo game is arranged into a word (word) instead of a number is achieved (called a winning condition).

I'm a fledgling engineer.I don't know how to write a program that determines that a word bingo has been achieved (hereinafter referred to as victory conditions). It's not a normal number bingo game, i...

1 weeks ago

1 answers
273 views
0
SpeechSynthesis.getVoices() cannot retrieve available audio

I ran getVoices() of the Web Speech API with the following code in chrome, but it returned with an empty array.How can I get it?const voice=speechSynthesis.getVoices();console.log(voice);<·[]// Con...


1 answers
336 views
0
Scrap text information after the "View More" button when searching in the Yahoo! News search window

Scrap text information after the View More button on the web pageIt will be almost the same as here, but I would like to ask you a similar question because I couldn't solve it by myself.I'm trying to ...

2 weeks ago

1 answers
353 views
0
I want to create an array of sequences from "1" to a specified number.

const createNum=(maxNum)=>{constary_result=[];for (let index=1; index<maxNum;index++){ aary_result.push(index); if(index===maxNum){ returnary_result; }}};console.log(createNum(100));// result//...

3 weeks ago

1 answers
318 views
0
How much load does site auto-reload on the server?

I am thinking of automatically reloading the main screen with JavaScript once every 10 minutes on a site created by JavaEE.In that case, I think it will put a load on the server like the F5 attack.I a...

3 weeks ago

1 answers
232 views
0
Related to Arduino communication through node.js with html/javascript

First of all, I am a beginner who started JavaScript with personal study for about a month.I've been scratching and studying here and there to make a web controller, and I put a function in the button...

3 weeks ago

1 answers
258 views
0
I want to create computational properties for 2D arrays with Vue's computed

I am currently practicing Vue3 code (Composition API).The purpose is to find the product (only practice) in the calculation properties if there is an array similar to the following:I just don't know h...

3 weeks ago

1 answers
283 views
0
I don't know HTML at all.

<!DOCTYPE html><html> <head> <meta charset=utf-8> <title>Game</title> <link rel=stylesheet type=text/css href=game.css> <script src=https://cdn....

4 weeks ago

1 answers
201 views
0
How to store Slider origin in JavaScript session storage

I want to save the range input slider's discharge (the last position on the slider) in session storage and let the last release value appear when the web page is refreshed. I don't know exactly becaus...

1 months ago

1 answers
207 views
0
Addition question for JavaScript fractions. I don't know what the problem is.

The test is correct, but I just submit it and it's wrong...function solution(numer1, denom1, numer2, denom2) { var answer = []; if(denom1 === denom2) { answer.push(numer1 + numer2) answer.push(denom...

1 months ago
- 1 - »

© 2023 OneMinuteCode. All rights reserved.