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
18 views
0
I want to get text when I click on a specific area in HTml as follows.

The screen displays the following target1 target2 target3 target4Here's how it works.<div> target1 <span>target2</span> <span>target3</span> target4</div>When you c...

2 years ago

1 answers
145 views
0
Do you happen to know issues like JavaScript?

<script language=JavaScript> myTickets = new Array(); startPosArr = new Array(); endPosArr = new Array(); selItem; eee2 = 0; function setMyTicketList(){ alert(^^ : + eee2);}The following error...


1 answers
16 views
0
This is a JavaScript question

var num = 11;(num > 100) && num++;document.writeln (num: +num+<br/>); //value num: 11(num < 100) || num++;document.writeln (num: +num+<br/>);//value num: 11(num < 100) &am...

2 years ago

1 answers
106 views
0
[Lectures 1-23] Is there a language that can be used in html documents other than javascript?

I heard that <script type=> can specify the type and javascript is specified as the default value in lecture 1-23.As far as I know, I heard that HTML css javascript can handle only three things,...


1 answers
50 views
0
How do we make the hash value of SHA256 through CryptoJS equal to the hash value of SHA256 using Java Message Digest?

var result = ;var reader = new FileReader();reader.onload = function(event) { result = CryptoJS.SHA256(event.target.result).toString();};reader.readAsBinaryString(tempFile);The hash value of a file in...


3 answers
36 views
0
What is the least loaded method when using jquery?

1. Save directly to directory and declare<script src=/dir/jquery-1.10.2.js></script>2. Declaring http path calls<script src=http://code.jquery.com/jquery-1.10.2.js></script>Bef...

2 years ago

1 answers
117 views
0
What should I use as a shopping mall development language?

Hello, I am a student who has just studied the web in high school.I'm working on a project with my friends for this project, and I'm doing a 'shopping mall' with the development.The main development l...


1 answers
73 views
0
How to remove Unicode characters from Javascript (string.replace())

Hi, I'm trying to delete two unicodes in the text with javascript: &zwj and &emsp, but it doesn't work as I thought.<div class=item data-value=0399>&zwj;&emsp;Fruits </div>...

2 years ago

1 answers
21 views
0
Is there a library in JavaScript that can compensate for floating point computation errors?

Usually, a floating point calculation error occurs in a programming language.var x = 0.2 + 0.1; // 0.3console.log(x) // 0.30000000000000004var y = 0.1 * 0.2; // 0.02 console.log(y) // 0.02000000000000...

2 years ago

1 answers
18 views
0
Please help me with the JavaScript code crying

Hello, I'm a total beginner who has been learning JavaScript for 2 weeksThe academy gave me the assignment. I tried it after thinking about it for 3 days, but I can't do it because I made a wrong func...

2 years ago
« - 108 - »

© 2024 OneMinuteCode. All rights reserved.