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
39 views
0
About javascript conditional branching

I'm a beginner.I have stumbled on the conditional branch of javascript, so I would like to ask you a question.What I want to do is to prepare multiple elements and click on each element to flag them a...

2 years ago

1 answers
48 views
0
Events when you close the drop-down list in the select box.

In order to prevent key-ups or key-downs with the drop-down list closed in the select box, I have considered one of the following actions, but I cannot find the appropriate event (I would like to be a...

2 years ago

3 answers
46 views
0
Is a recursive function a function that calls itself and loops?

Is a recursive function a function that calls itself and loops?Example function myChange(){ setTimeout (myChange, 5000); letterative=()=>{ interactive = setTimeout (myChange, 5000); }________Thank...

2 years ago

2 answers
45 views
0
About JS Classes

This is a continuation of the question about the JS class.>>>class Cat{constructor(name) {this.name=name}meow() {alert(this.name+' is meow')}}// Instance creationvarclsObj = new Cat(my cat);// Output ...

2 years ago

2 answers
40 views
0
To convert a two-dimensional array in vanilla JS to map, redoce

//2D arrayvararr = [ [1,2,3], [2,3,4], [5,6,7]]I'd like to sum up each array element of a two-dimensional array like ↓.[ [6], [9], [18]]vararr1=arr.map(function(val){ val.reduce(function(a,b){return a...

2 years ago

1 answers
71 views
0
Understanding the Use of Vue.js on Static Sites

I think vue.js and others are mainly suitable for data-oriented dynamic pages such as SPAs.Can't you somehow bring the following benefits of vue.js (vue-loader) to a typical static site?I'm thinking a...

2 years ago

1 answers
109 views
0
Is using JavaScript syntax extensions such as JSX mandatory for Vue and React?

DOM operation of raw JS is difficult.It is a very difficult task as shown below, but is the only way to solve this problem is to use frameworks such as react and vue, which are very grammatical?http:/...


1 answers
95 views
0
I would like to color the selected text in the site navigation.

I'd like to change the character color of the selected page, which is common in site navigation.What should I do?For example, in the following case, after clicking the company guide, when the company ...

2 years ago

1 answers
128 views
0
I want to include a variable in the property names

I want to put a variable in the property name, but I get an error.The code is as follows.Is there any good way?Thank you for your cooperation.var overrideCtx={}; overrideCtx.Templates={}; for(vari=1;i...

2 years ago

2 answers
74 views
0
Subsequent scripts do not work when object is returned using SQL statement execution results to determine if statement conditions

browsers:IE8sqlserver:Microsoft SQL SERVER 2008The following Javascript functions are called from the ASPX file and processed.If the SELECT result for sqlServer is an [object] that does not exist in t...

2 years ago
« - 20 - »

© 2024 OneMinuteCode. All rights reserved.