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
20 views
0
To get the first element of a string

in javascript I'm using Internet Explorer 7.Trying to get the first element of a string in JavaScriptvar x = 'somestring';alert(x[0]); // returns undefinedWhat's wrong with this code?

2 years ago

1 answers
146 views
0
. How do I know if the email address is valid in JavaScript?

How do I know if the email address is valid in JavaScript?


1 answers
46 views
0
How to play music in JavaScript

I'm making a game using HTML5 and JavaScript. How do I play music with JavaScript?

2 years ago

1 answers
93 views
0
How to get the current URL from JavaScript

I use jQuery. How can I get the current URL path?For examplehttp://localhost/menuname.de?foo=bar&number=0I mean, this url.

2 years ago

4 answers
18 views
0
I have a JavaScript library question.

When studying JavaScript,During library There are JS Library and jQuery.I am studying JavaScript at KahnacademyWhich should I study first, JS Library or jQuery?Also, is JS Library the original library...

2 years ago

1 answers
25 views
0
How to write JavaScript to get what the selected values in the list

How do I get the selected value from the list box? var as = document.form1.ddlViewBy.value;var e = document.getElementById(ddlViewBy);var strUser = e.options[e.selectedIndex].value;var value = documen...

2 years ago

2 answers
19 views
0
Repeating the text N times

In Perl, if you want to repeat a text N times, you can do $a = a x 10; aaaaaaaa' It's like this, but is there anything like this in JavaScript?

2 years ago

1 answers
20 views
0
I'd like to change the first letter to capital letters

Is there a way to change only the first letter to capital letters? For example, if there is John Smith, I want to change it to John Smith, but I don't know what to do.

2 years ago

1 answers
19 views
0
How do I modify the check status of the check box in JavaScript?

How do I modify the check status of the check box in JavaScript?

2 years ago

3 answers
19 views
0
There's an incomprehensible phenomenon in the forin statement

We are doing a simple form validation. It's nothing big, but once the value is entered, the submit button is activatedSubmit is disabled by default, and validation is turned on whenever the form value...

2 years ago
« - 102 - »

© 2024 OneMinuteCode. All rights reserved.