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
37 views
0
I can't do Math.random well.

I tried to generate a random number using Math.random, but when I looked at the console, the following error occurred and I couldn't.What is the cause?Thank you for your cooperation.error messageUncau...

2 years ago

1 answers
123 views
0
I want to save multiple values in localStorage.setItem

Hello!I want to get multiple values in the element by clicking the button and save them to localstorage, but I can't do it well.The cord will be long, so please excuse me here.http://codepen.io/anon/p...


2 answers
65 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?


1 answers
37 views
0
Is it possible to save the designated element that is changing the style to in setInterval as animation gif?

Prerequisite·The id of the specified div is changed every period of time using setIntervalQuestion·Is it possible to save the designated div drawing contents in the browser as animation gif?Supplement...

2 years ago

3 answers
37 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

1 answers
86 views
0
Google Maps does not show pins!

Nice to meet you!Currently, I am trying to display XML files on the read map by referring to the official Google Maps site below. https://developers.google.com/maps/articles/phpsqlajax_v3?hl=ja#create...

2 years ago

1 answers
34 views
0
Is it possible to save the designated element that is changing the style to in setInterval as animation gif?

Prerequisite·The id of the specified div is changed every period of time using setIntervalQuestion·Is it possible to save the designated div drawing contents in the browser as animation gif?Supplement...

2 years ago

1 answers
35 views
0
I can't do Math.random well.

I tried to generate a random number using Math.random, but when I looked at the console, the following error occurred and I couldn't.What is the cause?Thank you for your cooperation.error messageUncau...

2 years ago

1 answers
126 views
0
Events cannot be deleted only under certain conditions in FullCalendar of jQuery plug-in

FullCalendar 2.3.1http://fullcalendar.io/Ruby 2.1.5 p273Rails 4.2.1I use a jQuery plug-in called FullCalender to create a calendar that can be rewritten by Rails and ajax.Event creation, reading, upda...


1 answers
86 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&...

« - 29 - »

© 2024 OneMinuteCode. All rights reserved.