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
98 views
0
html disappears after sorting by list.js

When you sort the tables using list.js, everything in the table disappears.I wonder why...<!DOCTYPE html><html lang=ja><head><metacharset=utf-8> <link rel=stylesheet href=ht...

2 years ago

1 answers
48 views
0
Error in Javascript forEach

Creating an API using nodejs const_=require('lodash'); const func=require('./func');conditions = [item1, item2,...];const data={};constmain=async()=>{ for (leti=0;i<items.length;i++) {   _.assig...

2 years ago

1 answers
95 views
0
Google API authentication fails.

Google API often fails to authenticate, and I am having trouble identifying the cause and solution.Please let me know if you know.● Problem Symptoms With only one account logged into your Google accou...

2 years ago

1 answers
81 views
0
HtmlService.getUserAgent() is not available in V8 runtime of GAS

V8 runtime is now available on the GAS.https://developers.google.com/apps-script/guides/v8-runtime?hl=jaHowever, when calling the HtmlService.getUserAgent() function, the legacy Rhino engine returned ...


2 answers
22 views
0
Action to be taken when an element with a specific class is clicked

This is my first time asking a question.I would like to use the external link js to create an action that will be applied when an element with a specific class is clicked. document.getElementsByClassN...

2 years ago

1 answers
52 views
0
Alternative if IE11 cannot use template tags in the table tag

I am using vue.js, but IE11 is having trouble using template tags in the table tag.<tr> <td>hoge</td> <template v-for = item in items > <td>{{item.fuga}}</td> <t...


1 answers
22 views
0
"return arg1*+arg2" What does the plus sign mean in this expression?

Does anyone understand the meaning of adding + to variable names when multiplying by JavaScript?In the following cases, calc1 and calc2 have the same result, but is it something magical?class Data{ co...

2 years ago

2 answers
61 views
0
Is there a way to use variables in the regular expression literal?

Using RegExp, generate regular expression objects from the variable str in the following formatlet regexp = new RegExp(str+'(.*?), 'gmi');Is it possible to write in the regular expression literal?I co...


1 answers
113 views
0
What is the difference between compiling typescripts in label and compiling typescripts in tsc?

You can compile typescript using plugin in the label, but what is the difference from compiling using tsc?Even if js and ts are mixed, if you enable allowJs in the typescript tscconfig, you can compil...


1 answers
23 views
0
Time display using getElementById (hh:mm:ss) is not reflected

I am trying the code in the book below to study javascript.HTML & CSS for those who are about to start the web, Javascript _Create TimerHowever, despite writing the same code, 時間 time cannot be obtain...

2 years ago
« - 81 - »

© 2024 OneMinuteCode. All rights reserved.