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
96 views
0
I want Chrome to detect right-click events

I am creating a Chrome App, but I would like to do something like right-click the menu like Chrome Dev Editor.What kind of event handling should I do to detect a right click?


3 answers
35 views
0
I want to limit the number of arrays in javascript

There is a program that adds values to the beginning of the array.I want to limit the number to 10, but I don't know how to do it.What should I do?a=[1]a.unshift(2)//[2,1]...a.unshift(10)// [10,9,8,7,...

2 years ago

2 answers
102 views
0
How to get the height in textarea in javascript

Textarea enables scrolling, so if the number of characters is large, the height of the textarea itself and the height of the contents will change.Is there a way to get the height of this content?


1 answers
97 views
0
Want to run JavaScript for Chrome extensions faster than JavaScript in the site

To run JavaScript for Chrome extensions, JavaScript runs faster in the site Is there a way to describe it first?For example, on a site like this, <body><divid=t>test</div><script&...


1 answers
121 views
0
I want to make a mark that can move like a caret in javascript.

↑The image looks like thisjquery/jquery-ui is acceptable.input[type=text] and sample[mark] that informationHow do I retrieve it in the format Sample ?I was able to mark it and drag it, but I can't beh...


2 answers
92 views
0
How to get the height in textarea in javascript

Textarea enables scrolling, so if the number of characters is large, the height of the textarea itself and the height of the contents will change.Is there a way to get the height of this content?


1 answers
126 views
0
I want to make a mark that can move like a caret in javascript.

↑The image looks like thisjquery/jquery-ui is acceptable.input[type=text] and sample[mark] that informationHow do I retrieve it in the format Sample ?I was able to mark it and drag it, but I can't beh...


1 answers
142 views
0
How to use Bluetooth Low Energy (BLE) Central Plugin for Apache Codova

BLE CordovaPlugin (https://github.com/don/cordova-plugin-ble-central/blob/master/README.md)I am trying to develop an iPhone app with Monaca using .Run Environment: iPhone 5s (iOS7)If you set up the pl...


1 answers
96 views
0
How to use Bluetooth Low Energy (BLE) Central Plugin for Apache Codova

BLE CordovaPlugin (https://github.com/don/cordova-plugin-ble-central/blob/master/README.md)I am trying to develop an iPhone app with Monaca using .Run Environment: iPhone 5s (iOS7)If you set up the pl...


1 answers
59 views
0
What happens if I write this jQuery code with native javascript?

$.ajax({ url: '/ajax/', type: 'get', async —false, success:function(d){ console.log(d); },});

2 years ago
« - 30 - »

© 2024 OneMinuteCode. All rights reserved.