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
40 views
0
How do I change the inner HTML of div in jQuery?

document.all.regTitle.innerHTML = 'Hello World';RegTitle is the ID of the div. I want to do it like this. What should I do?

2 years ago

1 answers
98 views
0
I want to erase all of the canvas in JavaScript to draw a new one, what should I do?

I want to erase all of the canvas in JavaScript to draw a new one, what should I do?

2 years ago

1 answers
38 views
0
To get the name of a class from jQuery

<div class=myclass></div>How do we get the name of this class if we have this kind of div?

2 years ago

1 answers
18 views
0
I have to return several values in JavaScript, what should I do?

var newCodes = function() { var dCodes = fg.codecsCodes.rs; var dCodes2 = fg.codecsCodes2.rs; return dCodes, dCodes2;};I want to implement it like this, what should I do?

2 years ago

1 answers
46 views
0
How to generate div elements in jQuery

How do you make div elements in jQuery?

2 years ago

1 answers
39 views
0
In jQuery, how do you get a function called every 5 seconds?

I want to keep the function called every five seconds to slide the image automatically.But I don't know what to do. It's an urgent matter, please help me.

2 years ago

1 answers
18 views
0
How to replace String with a number in JavaScript

I just want to get a number from the string Hello, I'm 24 years old in JavaScriptHow can you do that?

2 years ago

1 answers
77 views
0
How to convert decimal to hex in JavaScript

How do I convert decimal to hexadecimal in JavaScript?

2 years ago

1 answers
99 views
0
How do I take a comma in a thousand digits in JavaScript?

I'd like to take a comma in a thousand digits when I print the integrer in JavaScript. For example,If you have 1234567, I want to print it out like 1,234,567 function numberWithCommas(x) { x = x.toStr...

2 years ago

1 answers
134 views
0
Function declarations and function representations

I recently started maintaining someone else's JavaScript code. You want to fix bugs and add features to fix code more consistently. Previous developers defined code as a function in two ways. I was wo...

2 years ago
« - 99 - »

© 2024 OneMinuteCode. All rights reserved.