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
118 views
0
I want to get the last li element of the nth ul element

I want to get the text of the last child element of the nth ul element.Currently, we are able to retrieve the text of the last child element of the ul element.var lastChild = document.querySelector('u...

2 years ago

1 answers
51 views
0
vue, vue-router does not transition pages successfully 2

Based on the advice you gave me in the previous question, I tried designing App.vue just to draw a router-view, but the transition didn't work, so I'll ask you again.If you click count and about on th...

2 years ago

1 answers
80 views
0
Regarding GET request Status Code:499, how is this number displayed?

The page you are creating is Status Code:499 ·Error Occurred·Click on the anti-virus software link to display Reason: URL of phishing site I'd like to find out why, but can you tell me what it is from...

2 years ago

2 answers
23 views
0
Server-side and front-line data exchange

On the server side, we use languages such as PHP and Ruby, but On the browser side, JavaScript is the choice.How do I exchange data with JavaScript?I would just embed JSON on the page and parse it, or...

2 years ago

1 answers
45 views
0
To Limit Window Size Variability in JavaScript

I would like to limit the window width to less than 500px in JavaScript, but is such an API provided?I looked it up and found something called window.minWidth, but it didn't work well.It works with ch...

2 years ago

2 answers
43 views
0
How do I slide through page navigation with a slider using jQuery?

How do I slide the page navigation using the jQuery slider (navigation with links to the number of sliders to slide to the bottom of the page, not to the left and right)?I'm worried because I can't fi...

2 years ago

1 answers
23 views
0
How do I use an array for the Date() constructor argument?

If I want the result of the function f2 to be the same as f1, can I solve this problem by adding a statement to f2?If such a solution is possible, what is an example of a solution?let date;f1();f2();f...

2 years ago

1 answers
37 views
0
Understanding the Acquisition of Specific Elements and Attribute Values Using jQuery.each().f()

Using jQuery, from HTML hoge1 hoge1_2 quantity: 1, hoge2 hoge2_2 quantity: 2, hoge3 hoge3_2 quantity: 3...Repeat for class=list_ minutes in class=boxlist_I would like to pick up only certain attribut...

2 years ago

2 answers
47 views
0
I want to update the value by turning the interface with Object.keys.

Migrating from javascript to TypeScript In javascript, I was able to make partial changes using the key of the object as shown below.The typecrypt has not been able to do this because the type gets in...

2 years ago

1 answers
23 views
0
RxJS `flatMap` behavior is different from intuition

Regarding the output of the code below, var source=Rx.Observable.range(1,3).flatMap(function(v){ return Rx.Observable.range(1,3);}).subscribe(function(v){ console.log(v)});Below is the list.121321323H...

« - 64 - »

© 2024 OneMinuteCode. All rights reserved.