Quick Introduction

In this post, we will get to know first what is javascript(little intro) then we will move towards a more interesting part which is some uncommon or unique uses of javascript.

Then we will look at some common uses of javascript as well. And at last, we will discuss some important things which will help you become a better javascript developer.

And I will conclude this post by suggesting some good free/paid resources to learn javascript. Let’s start this post without much wasting your time.

What is javascript?

JavaScript is a programming language initially came as client side language for web browsers. It was created by Brendan Eich in 1995 and was only used to do browser-based development back in those days.

In 1995 it was developed under the name Mocha then it was officially called LiveScript but again renamed as JavaScript by Netscape and deployed in the Netscape Navigator 2.0.

Standardization

Around November 1996, ECMA International came out with standardization for JavaScript and officially released as ECMA-262 standard in June 1997.

Other major standardization:

YEARVersion
1997 (later)ES1
” “Other development
2009-10ES5 (Map, ForEach)
2015ES6
2017ES7

Javascript’s Timeline(Journey)

Javascript Timeline

Anyone can use this infographic in their post just don’t forget to link back

What is javascript used for?

Javascript is all over the web, everything on the web is made with javascript. Some common javascript uses are: creating websites, cross-platform app development,game development, etc.

10+ unique Javascript uses in 2020

1.Game Development

10+ Best Uses of JavaScript[2020]: You haven't heard before 1 » Csspoint101
A game made with javascript

Yes, you saw it correctly game development, it is possible to create games on web browsers in 2020 using different javascript frameworks like – Phaser Js, etc. Few examples are: Powerline.io, NoBrakes.io etc

2.Desktop App Development

website develoment

There was a time when desktop app development was ruled by java, c++, etc but things are changing now. With the introduction of Electron.js, it is even possible to make desktop applications using javascript. Big companies app like: slack, WhatsApp(desktop), WordPress(desktop), etc is made with electron.js.

3.Music Production

10+ Best Uses of JavaScript[2020]: You haven't heard before 2 » Csspoint101

Music production? what? Yes, even music production is possible with javascript. You can create a music application for a web browser using javascript libraries like : Tone.js , Howler.js ,Rythm.js etc.

4.WebVR

10+ Best Uses of JavaScript[2020]: You haven't heard before 3 » Csspoint101

Virtual Reality has been around us for pretty much 4-5 years but what’s new is that now it is moving to web browsers also which makes it fun. And guess what you can do this with javascript only.

5.Generative Art

10+ Best Uses of JavaScript[2020]: You haven't heard before 4 » Csspoint101

If I would have told you 20 years back that javascript can create art on its own you would have not believed me. But in 2020 it is possible using node.js and canvas, you can create art using javascript. Here’s a detailed article on that by MATT DESLAURIERS.

6.WebAR

10+ Best Uses of JavaScript[2020]: You haven't heard before 5 » Csspoint101

WebAR is exactly like augmented reality as you know it. Except it can be accessed directly from a mobile browser. No app, no downloads.You can implement WebAr like features in your website using javascript only.

7.3-D Work on web

10+ Best Uses of JavaScript[2020]: You haven't heard before 6 » Csspoint101

Javascript can even be used in the 3-D work on the web which is damn cool!! It can be created using three.js and WebGL.

8.WebXR

10+ Best Uses of JavaScript[2020]: You haven't heard before 7 » Csspoint101

The XR stands for “Extended Reality” which intended to include AR, VR together. Users can use only a web browser to start viewing VR/AR content without having to install extra plugins or software. And yes you this is also done using javascript(this sentence is getting repetitive!!).

9.Node Bots

10+ Best Uses of JavaScript[2020]: You haven't heard before 8 » Csspoint101

You can even create javascript powered robots. If you have any JavaScript experience, you can now use your powers to manipulate the machines. From blinking lights to Sumo Bot battles, Remote control cats, etc. Read complete about nodebots.

10.Web Nfc

10+ Best Uses of JavaScript[2020]: You haven't heard before 9 » Csspoint101
Image credit: schmalz.com

The Web NFC API enables wireless communication in close proximity between active and passive NFC devices. Now NFC works directly from the web browser and this is possible just because of javascript.

11.Machine Learning

10+ Best Uses of JavaScript[2020]: You haven't heard before 10 » Csspoint101

I saved the best for last, when we think about Machine learning or AI we mainly use python or R language. But now ML/AI is possible with javascript using TensorFlow.js which is developed by Google.

You can also read about a complete comparison between python vs javascript.

Some common uses of javascript

javascript uses

1.Website Development

website develoment

Website development is the primary usage of javascript. It was launched back then in 1995 for adding interactivity in your site and it is still used for that purpose. In fact, many different features have come up with time which has enhanced this work.

2.Web Servers

10+ Best Uses of JavaScript[2020]: You haven't heard before 11 » Csspoint101

In the 1990s javascript was only used for frontend development. But things have changed now, with the introduction of Node.js javascript now used on the server-side also.

3.App Development

app development

No one has thought before that javascript will be used for native mobile app development, it was like a dream. But with the introduction of  React Native by Facebook, it is possible now to develop apps using javascript. Other frameworks used for this purpose are – PhoneGapMobile Angular UI, etc.

4.Single page application(SAPs)

10+ Best Uses of JavaScript[2020]: You haven't heard before 12 » Csspoint101

A single-page application (SPA) is a web application that interacts with the web browser by dynamically rewriting the current web page with new data. SPAs are faster than the regular website as they do not reload every single time for getting data. With the introduction of frameworks like – react js, angular js, Vue js, etc it is now possible to make SPAs with javascript.

Why learn javascript?

Learn once use everywhere

Javascript is used for everything nowadays from ML to app development. It has emerged as a swiss knife of programming language. Learn once and you can shift to different industries after learning about it a little bit.

Ease of learning

Javascript is an easy language to grasp if you learn it properly. As it is popular language there are many free tutorial videos are available over the internet from where you can learn javascript free of cost.

Growing job opportunity

10+ Best Uses of JavaScript[2020]: You haven't heard before 13 » Csspoint101

JavaScript is everywhere on the web from Frontend to Backend and now it is moving towards App development (thanks to –  react-native) which means more job opportunities for JavaScript developers.

Salary

10+ Best Uses of JavaScript[2020]: You haven't heard before 14 » Csspoint101
Source: Glassdoor

Although salaries vary from place to place and it depends on many factors like – experienceknowledge, location, etc but What I can say is that JavaScript is used everywhere so the need for developers is high compared to other programming languages. And If you are skilled than you are likely to get paid well.

Pros and Cons of Javascript

ProsCons
Usability: JavaScript could be used in ways like – web & App development etcFramework Jumble: Every single day new framework comes out in javascript that makes hard for new developers to cope with
Popularity: JavaScript is still growing very fast and becoming popular among developersBrowser Compatibility: Every browser interprets JavaScript in a different way which makes it hard to write cross-browser code.
Support: It has a very vast community of developers for supportInheritance : JavaScript does not support multiple inheritance
Interoperability: JavaScript goes nicely with other programming languagesServer-side Security: Code gets executed on the user’s computer that can be used for malicious purposes
Update: ECMA international pulls out latest update annually with new featuresThreading: JavaScript doesn’t have any multi-threading or multiprocessor capabilities

Some good resources to learn javascript (paid and free)

Free Resources

1. Codecademy

This is a good website to learn many technologies online but probably the best website to learn JavaScript online.

2. Freecodecamp.org

This is one of the most awesome community websites which will help you to learn to code for free, build real-world projects and get a job as a developer.

3. Traversy Media Youtube Channel

He offers different javascript related videos, crash courses, project-based videos and freelancing kinds of stuff which you will love after watching.

4. Js For Cats

Javascript for cats is a site that teaches you the complete basics of javascript free of cost.

Paid Resources

1.Udemy.com

One of the best places for online learning, you will get online courses in all the latest technology at a relatively cheaper price.

2.Coursera

This is another awesome website to learn online. The best part of Coursera is that it offers online courses from Universities like Stanford, University of London, University of Michigan.

3.Pluralsight

The site also has a lot of useful courses to learn JavaScript from beginners.

80+ Javascript Small Project Ideas

Video by Florin Pop

Do subscribe his youtube channel because he creates some awesome javascript content

Conclusion

The above list of javascript uses was just a teaser of what you can do with javascript. The possibilities are endless of what you can do with javascript. It totally depends upon you how you use javascript to create something new which the world has never witnessed.

Thanks for reading this article on the uses of javascript. Do share with others if you liked this article and also read about the complete guide to dark mode or 20+ Best Programming Books.