JavaScript vs TypeScript

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

JavaScript
JavaScript

52.5K
39K
+ 1
7.4K
TypeScript
TypeScript

11K
8.2K
+ 1
400
Add tool

JavaScript vs TypeScript: What are the differences?

What is JavaScript? Lightweight, interpreted, object-oriented language with first-class functions. 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.

What is TypeScript? A superset of JavaScript that compiles to clean JavaScript output. TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.

JavaScript and TypeScript are primarily classified as "Languages" and "Templating Languages & Extensions" tools respectively.

"Can be used on frontend/backend", "It's everywhere" and "Lots of great frameworks" are the key factors why developers consider JavaScript; whereas "More intuitive and type safe javascript", "Type safe" and "JavaScript superset" are the primary reasons why TypeScript is favored.

TypeScript is an open source tool with 51.2K GitHub stars and 7.07K GitHub forks. Here's a link to TypeScript's open source repository on GitHub.

Airbnb, Instagram, and reddit are some of the popular companies that use JavaScript, whereas TypeScript is used by Slack, Asana, and Rainist. JavaScript has a broader approval, being mentioned in 5085 company stacks & 6482 developers stacks; compared to TypeScript, which is listed in 982 company stacks and 1452 developer stacks.

- No public GitHub repository available -

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.

What is TypeScript?

TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose JavaScript?
Why do developers choose TypeScript?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con

    Sign up to add, upvote and see more consMake informed product decisions

    What companies use JavaScript?
    What companies use TypeScript?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with JavaScript?
    What tools integrate with TypeScript?