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
27 views
0
Understanding the Location of a Semicolon in JavaScript

The following is a description of the JS material that I am currently learning.const user=['Taro Tanaka', 'Ichiro Sato', 'Jiro Yamada'];constresult=user.map(element=>{ return element + 'Mr';})conso...

2 years ago

1 answers
87 views
0
The marker disappears when the center coordinates of the map are obtained by geolocationAPI.

Markers were displayed before geolocationAPI was introduced, but when debugging.InvalidValueError: setMap:not an instance of Map; and not an instance of StreetViewPanoramaThe error appears and the mar...

2 years ago

1 answers
136 views
0
WebExtensions getBackgroundPage Cannot Call Background Functions

When I try to call a function on the background script using getBackgroundPage in Firefox's WebExtensions, I get the error Error: Permission denied to access property f1 In the example below, data is ...


1 answers
113 views
0
Can't vue.js call parent to child events?

For example, to open a modal that is reused in multiple locations Is it impossible to call a child's method from the parent without giving the parent a state?Would you like to write it in the followin...

2 years ago

1 answers
81 views
0
I want to get the image file from S3 in node.js, but I get a Forbidden 403 error in s3.getObject.

I can upload it to S3, but the server code I wrote in node.js is gettingObject and I'm going to get the file from S3, but I get a 403 Forbidden error.What I want to do is to read the photo I uploaded ...


1 answers
26 views
0
I don't know how to check if it sticks out of the array.

I can't image the part of the code that passes through the top, bottom, left and right loops with the code belowHow to use the remainder of cellIndex%SIDE_CELLS==SIDE_CELLS-1 especially on the left an...

2 years ago

2 answers
96 views
0
What to do if JSON is null in jQuery.ajax

I only want to display null when loading the json file, but I can't do it well.Here's the code.time.json{ fromTokyo: {air: 1 hour 30 min, train: null, bus: null}, fromOsaka: {air: 1 hour 45 min, train...

2 years ago

1 answers
37 views
0
Is there any chance that the contents of .html cannot be captured depending on whether or not the pre-alert operation is performed (JQuery)?

Thank you all for your continued support.====Question ====Is it possible that the behavior changes (the contents of the variables in the array change?) just by the presence or absence of an Alert stat...

2 years ago

1 answers
41 views
0
I want to hide the button after pressing the Add Detail button and the number of lines exceeds a certain number of lines.

We are currently producing the Rails app.In that app, I press the Add Detail button to add a table line, but how do I hide the Add Detail button when the number of lines exceeds 5?In the code below, y...


1 answers
40 views
0
Information About Loading TGA in Three.js

Include the TGALoader for TGA loading in Three.js.// Excerpts only from affected partsvar loader;vartgaLoader = new THREE.TGALoader (this.manager);loader = tgaLoader;varmaterialLoader = new THREE.Mate...

2 years ago
« - 53 - »

© 2024 OneMinuteCode. All rights reserved.