🌐

JavaScript

since 1995

The language of the web

Created by Brendan Eich

JavaScript is the only programming language that runs natively in every web browser. Originally created in just 10 days, it has grown into one of the world's most-used languages. With Node.js, it conquered the server too. Whether you're adding interactivity to a webpage or building complex distributed systems, JavaScript is always in the mix.

Typing
Dynamic
Speed
Fast
Learning Curve
Moderate
Paradigm
Event-driven +more

// Key Features

Runs Everywhere
Every browser ships a JS engine. No install, no compile — just open and run.
Async by Nature
Promises, async/await, and event loops make non-blocking I/O feel natural.
Full-Stack with Node.js
Use the same language on front-end and back-end. Share code, reduce context-switching.
Rich Ecosystem
npm hosts over 2 million packages — the largest package registry in the world.

// Code Example

async-fetch.js
async function fetchUser(id) {
  try {
    const response = await fetch(`/api/users/${id}`);
    
    if (!response.ok) {
      throw new Error(`HTTP ${response.status}`);
    }
    
    const user = await response.json();
    console.log(`Hello, ${user.name}!`);
    return user;
  } catch (error) {
    console.error('Failed to fetch user:', error);
  }
}

fetchUser(42);

// Strengths

  • Runs in every browser
  • Huge ecosystem and community
  • Full-stack with Node.js
  • Highly flexible
  • Excellent async support

// Limitations

  • Dynamic typing causes runtime bugs
  • Inconsistent browser APIs (historically)
  • Callback hell in older code
  • Prototype-based OOP can confuse newcomers

// Where It Shines

Web Frontend (React, Vue, Svelte)Server-side (Node.js)Mobile (React Native)Desktop (Electron)Serverless FunctionsGame Development

// Explore Other Languages

🐍Python
🔷TypeScript
⚙️Rust
🚀Go
← All Languages
// built with curiosity