Articles on Trending Technologies

Technical articles with clear explanations and examples

How do I get the current date in JavaScript?

usharani
usharani
Updated on 15-Mar-2026 1K+ Views

To get the current date in JavaScript, you can use the Date object along with various methods to extract different parts of the date. Getting the Current Date Object The new Date() constructor creates a Date object representing the current date and time: var currentDate = new Date(); console.log(currentDate); 2024-01-15T10:30:45.123Z Getting the Day of the Month The getDate() method returns the day of the month (1-31): var date = new Date(); var dayOfMonth = date.getDate(); console.log("Day of month: " + dayOfMonth); Day of month: 15 ...

Read More

Where is JavaScript Today?

varun
varun
Updated on 15-Mar-2026 438 Views

JavaScript has evolved significantly since its creation in 1995. Today, it stands as one of the most popular and versatile programming languages in the world, powering everything from simple web interactions to complex server applications and mobile apps. Current JavaScript Standard The latest JavaScript standard is ECMAScript 2023 (ES14), released in June 2023. However, ECMAScript 2017 (ES8) remains widely supported and includes major features like async/await, Object.entries(), and string padding methods. The ECMA-262 Specification continues to define the core JavaScript language standards. JavaScript's Modern Role JavaScript is no longer limited to browser-based interactions. It has expanded ...

Read More

How to check whether a string contains a substring in JavaScript?

Abhinaya
Abhinaya
Updated on 15-Mar-2026 1K+ Views

JavaScript provides us with different methods to check whether a string contains a substring or not. In this article, we use the following three methods for this purpose: String search() method String indexOf() method String includes() method Let's explore in detail each method. Using String search() Method The string search() method can be used to search a text (using regular expression) in a string. It matches the string against a regular expression and returns the index (position) of the first match. It returns -1 if no match is found. It's case-sensitive. The ...

Read More

What are some JavaScript Development Tools?

Alshifa Hasnain
Alshifa Hasnain
Updated on 15-Mar-2026 707 Views

One of the major strengths of JavaScript is that it does not require any expensive development tools. You can start with a simple text editor such as Notepad. Since it is an interpreted language inside the context of a web browser, you don't even need to buy a compiler. To make our lives simpler, various vendors have come up with very nice JavaScript editing tools. Some of them are listed here − Code Editors and IDEs A quality code editor is the backbone of any JavaScript development process. Visual Studio Code ...

Read More

What are the advantages of JavaScript?

Alshifa Hasnain
Alshifa Hasnain
Updated on 15-Mar-2026 5K+ Views

JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementation allows a client-side script to interact with a user and to make dynamic pages. It is an interpreted programming language with object-oriented capabilities. Client-Side (Browser) DOM Manipulation User Interaction Form Validation Dynamic Content ...

Read More

What is core JavaScript language?

Giri Raju
Giri Raju
Updated on 15-Mar-2026 3K+ Views

Core JavaScript is the foundation of the JavaScript language that provides the essential programming constructs and features. It represents the standard language specification that works consistently across different environments, whether in browsers, servers, or other JavaScript runtime environments. What is Core JavaScript? Core JavaScript includes the fundamental language features such as variables, data types, operators, control structures, functions, and objects. These core elements remain the same regardless of where JavaScript is executed. // Core JavaScript features work everywhere let name = "JavaScript"; let version ...

Read More

How and why to avoid global variables in JavaScript?

Ali
Ali
Updated on 15-Mar-2026 1K+ Views

Avoiding global variables in JavaScript is a fundamental best practice for writing maintainable and bug-free code. Global variables can be easily overwritten by other scripts and create naming conflicts that lead to unexpected behavior. Why Avoid Global Variables? Global variables create several problems in JavaScript applications: Naming Conflicts: Multiple scripts can accidentally use the same variable names Maintenance Issues: Hard to track where variables are modified Memory Leaks: Global variables persist throughout the application lifecycle Testing Difficulties: Global state makes unit testing more complex Problem Example // Global variables - problematic approach ...

Read More

Which is the best tutorial site to learn JavaScript?

Abhinanda Shri
Abhinanda Shri
Updated on 15-Mar-2026 272 Views

JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow a client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities. Why Choose TutorialsPoint for JavaScript Learning? TutorialsPoint offers comprehensive JavaScript tutorials that cover everything from basics to advanced concepts. The JavaScript tutorial is structured to provide step-by-step learning with practical examples. Core JavaScript Topics Covered The tutorial explains fundamental JavaScript concepts including: Overview - Understanding JavaScript's ...

Read More

List top JavaScript Frameworks

Ankitha Reddy
Ankitha Reddy
Updated on 15-Mar-2026 281 Views

JavaScript frameworks provide structured solutions for building web applications, offering reusable components, organized code patterns, and simplified development workflows. Here are some of the most influential JavaScript frameworks that have shaped modern web development. Popular JavaScript Frameworks React Developed by Facebook and released in 2013, React is a component-based library for building user interfaces. It uses a virtual DOM for efficient rendering and has become one of the most popular choices for modern web applications. Vue.js Created by Evan You in 2014, Vue.js is a progressive framework that combines the best features of Angular and React. It ...

Read More

What is the difference between JavaScript frameworks?

Abhinaya
Abhinaya
Updated on 15-Mar-2026 267 Views

JavaScript frameworks provide pre-written code libraries that simplify web development by offering reusable components, structure, and functionality. Each framework has different strengths and is suited for specific use cases. What are JavaScript Frameworks? JavaScript frameworks are collections of pre-written JavaScript code that provide a foundation for building web applications. They offer standardized ways to organize code, handle common tasks, and create interactive user interfaces. Popular JavaScript Frameworks Overview Here's how some major JavaScript frameworks compare across key features: ...

Read More
Showing 19221–19230 of 61,297 articles
Advertisements