JavaScript logo

JavaScript

Lightweight, interpreted, object-oriented language with first-class functions
217.2K
167.3K
+ 1
7.8K

What is JavaScript?

JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
JavaScript is a tool in the Languages category of a tech stack.

Who uses JavaScript?

Companies
12986 companies reportedly use JavaScript in their tech stacks, including Airbnb, Instagram, and Slack.

Developers
193175 developers on StackShare have stated that they use JavaScript.

JavaScript Integrations

PHP, AngularJS, Font Awesome, Webpack, and Redux are some of the popular tools that integrate with JavaScript. Here's a list of all 459 tools that integrate with JavaScript.
Pros of JavaScript
1.6K
Can be used on frontend/backend
1.5K
It's everywhere
1.1K
Lots of great frameworks
886
Fast
735
Light weight
415
Flexible
382
You can't get a device today that doesn't run js
282
Non-blocking i/o
232
Ubiquitousness
187
Expressive
50
Extended functionality to web pages
43
Relatively easy language
41
Executed on the client side
25
Relatively fast to the end user
21
Pure Javascript
16
Functional programming
11
Async
8
Setup is easy
7
Full-stack
7
JavaScript is the New PHP
7
Its everywhere
7
Like it or not, JS is part of the web standard
7
Because I love functions
6
Expansive community
6
Can be used in backend, frontend and DB
6
Future Language of The Web
5
Popularized Class-Less Architecture & Lambdas
5
Everyone use it
5
Love-hate relationship
5
Easy to hire developers
5
Evolution of C
5
Supports lambdas and closures
5
Agile, packages simple to use
5
For the good parts
4
Scope manipulation
4
It's fun
4
Client processing
4
Nice
4
Easy to make something
4
Can be used on frontend/backend/Mobile/create PRO Ui
4
Easy
4
Photoshop has 3 JS runtimes built in
4
Can be used both as frontend and backend as well
4
Most Popular Language in the World
4
No need to use PHP
4
Everywhere
4
Hard not to use
4
Promise relationship
4
Stockholm Syndrome
4
1.6K Can be used on frontend/backend
4
Client side JS uses the visitors CPU to save Server Res
4
It let's me use Babel & Typescript
4
Its fun and fast
4
Powerful
4
Versitile
4
What to add
4
Clojurescript
4
Function expressions are useful for callbacks
3
Because it is so simple and lightweight
3
Only Programming language on browser
2
JavaScript j.s
2
Acoperișul 0757604335
Decisions about JavaScript

Here are some stack decisions, common use cases and reviews by companies and developers who chose JavaScript in their tech stack.

Shared insights
on
JavaScript

All of our Frontend code is written in ECMAScript 6 using React/Redux, running on Node.js JavaScript

See more
Lidiexy Alonso
Senior Software Engineer at Palinode LLC · | 6 upvotes · 62.3K views

As developer at Applied Health Analytics we decided to create a React Native App. In terms of #IDE I'm a good fan of PhpStorm cause we have a lot of PHP in the backend, but I've definitely gave a try to Visual Studio Code and now is my primary JavaScript #IDE. I was impress how fast VS Code has become the No.1 @JavaScript Editor in the community.

See more
Priit Kaasik
Engineering Lead at Katana MRP · | 8 upvotes · 72.6K views

We undertook the task of building a manufacturing ERP for small branded manufacturers. We needed to build a lot, fast with a small team, and have clear focus on product delivery. We chose JavaScript / Node.js ( React + LoopBack full stack) , Heroku and Heroku Postgres (also Heroku Redis ) . This decision has guided us to picking other key technologies. It has granted us high pace of product delivery and service availability while operating with a small team.

See more
Priit Kaasik
Engineering Lead at Katana MRP · | 7 upvotes · 113.4K views

Sometimes #ad-blocking addons can cause a real headache when working with JavaScript apps. Onboarding assistants (Appcues + elevio ), chat (Intercom) and product usage insight (Hotjar) have all landed on their blacklists. I guess there is a perfectly good reason for this that I just don't know.

In order to fix this, we had to set up our own content delivery service. We chose Amazon CloudFront and Amazon S3 to do the job because it has a good synergy with Heroku PaaS we are already using.

See more

From a StackShare community member: "We are looking to rewrite our outdated front-end with TypeScript. Right now we have a mix of CoffeeScript and vanilla JavaScript. I have read that adopting TypeScript can help enforce better code quality, and best practices. I also heard good things about Flow (JS). Which one would you recommend and why?"

See more

I'm working as one of the engineering leads in RunaHR. As our platform is a Saas, we thought It'd be good to have an API (We chose Ruby and Rails for this) and a SPA (built with React and Redux ) connected. We started the SPA with Create React App since It's pretty easy to start.

We use Jest as the testing framework and react-testing-library to test React components. In Rails we make tests using RSpec.

Our main database is PostgreSQL, but we also use MongoDB to store some type of data. We started to use Redis  for cache and other time sensitive operations.

We have a couple of extra projects: One is an Employee app built with React Native and the other is an internal back office dashboard built with Next.js for the client and Python in the backend side.

Since we have different frontend apps we have found useful to have Bit to document visual components and utils in JavaScript.

See more

Blog Posts

May 6 2020 at 6:34AM

Pinterest

+6
3
2231
+12
5
3462
Oct 24 2019 at 7:43PM

AppSignal

+8
5
721
Oct 11 2019 at 2:36PM

LogRocket

+8
5
1565
Oct 3 2019 at 7:13PM

Ably Realtime

+8
4
3248
+4
7
954

JavaScript Alternatives & Comparisons

What are some alternatives to JavaScript?
TypeScript
TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
Dart
Dart is a cohesive, scalable platform for building apps that run on the web (where you can use Polymer) or on servers (such as with Google Cloud Platform). Use the Dart language, libraries, and tools to write anything from simple scripts to full-featured apps.
CoffeeScript
It adds syntactic sugar inspired by Ruby, Python and Haskell in an effort to enhance JavaScript's brevity and readability. Specific additional features include list comprehension and de-structuring assignment.
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
See all alternatives

JavaScript's Followers
167270 developers follow JavaScript to keep up with related blogs and decisions.