JavaScript logo

JavaScript

Lightweight, interpreted, object-oriented language with first-class functions
173.2K
128.8K
+ 1
7.5K

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
12081 companies reportedly use JavaScript in their tech stacks, including Airbnb, Instagram, and Slack.

Developers
155090 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 407 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
881
Fast
730
Light weight
408
Flexible
374
You can't get a device today that doesn't run js
278
Non-blocking i/o
227
Ubiquitousness
182
Expressive
44
Extended functionality to web pages
40
Relatively easy language
37
Executed on the client side
22
Relatively fast to the end user
18
Pure Javascript
13
Functional programming
6
Async
4
Full-stack
4
Because I love functions
4
Setup is easy
4
JavaScript is the New PHP
3
Like it or not, JS is part of the web standard
3
Can be used in backend, frontend and DB
3
Its everywhere
3
Expansive community
3
Future Language of The Web
2
Evolution of C
2
For the good parts
2
Love-hate relationship
2
Popularized Class-Less Architecture & Lambdas
2
Everyone use it
2
Easy to hire developers
2
Supports lambdas and closures
1
Versitile
1
Powerful
1
1.6K Can be used on frontend/backend
1
Can be used both as frontend and backend as well
1
Agile, packages simple to use
1
Can be used on frontend/backend/Mobile/create PRO Ui
1
No need to use PHP
1
It's fun
1
Its fun and fast
1
Most Popular Language in the World
1
Hard not to use
1
Stockholm Syndrome
1
Photoshop has 3 JS runtimes built in
1
Promise relationship
1
It let's me use Babel & Typescript
1
Function expressions are useful for callbacks
1
Scope manipulation
1
What to add
1
Clojurescript
1
Client processing
1
Everywhere
1
Only Programming language on browser
1
Nice
0
Client side JS uses the visitors CPU to save Server Res
0
Because it is so simple and lightweight
0
Easy to make something
0
Easy
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
JavaScriptJavaScript

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 路 16.2K 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 | 7 upvotes 路 44.8K 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 路 72.3K 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
https://img.stackshare.io/stack/637945/default_422005e66f7e4963dbcd1f37cfb90fb3d562758a.png logo

Pinterest

JavaScriptC++Varnish+6
3
1780
JavaScriptGitHubReact+12
5
3002
Oct 24 2019 at 7:43PM
https://img.stackshare.io/stack/513891/default_86b138c409d64e353c3d509121b4ac1dd9cf31c4.png logo

AppSignal

JavaScriptNode.jsJava+8
5
660
Oct 11 2019 at 2:36PM
https://img.stackshare.io/stack/512116/default_d241909fea877ec2ea88a6fc58d31e08c8dc618d.png logo

LogRocket

JavaScriptReactAngularJS+8
5
1431
Oct 3 2019 at 7:13PM
https://img.stackshare.io/stack/511159/default_5f04358e03a27bf2607a39dd9b409dd7830ce4d3.png logo

Ably Realtime

JavaScriptPythonNode.js+8
4
3123
JavaScriptPythonPubNub+4
7
909

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
128766 developers follow JavaScript to keep up with related blogs and decisions.