Web Technologies · ওয়েব টেকনোলজি


JavaScript Basicsজাভাস্ক্রিপ্ট বেসিকস

Introduction

JavaScript (JS) is the programming language of the web. HTML gives a web page its structure, CSS gives it style, and JavaScript gives it behaviour — it makes pages interactive, responds to clicks, validates forms, updates content without reloading, and much more. It is one of the three core technologies of the World Wide Web and runs inside every modern browser.

For government job and IT-officer exams (BCS, Bank, and various IT posts), JavaScript appears in the Web Technologies section. Questions are usually conceptual: What is JavaScript? Is it compiled or interpreted? What is the difference between == and ===? What are var, let, and const? What does typeof null return? This lesson builds the topic from first principles so you can answer both theory and small code-output questions with confidence.

Key fact for MCQs: JavaScript is a high-level, interpreted (JIT-compiled), dynamically-typed, single-threaded scripting language. It was created by Brendan Eich at Netscape in 1995. Its official standard is ECMAScript (ECMA-262). JavaScript is NOT the same as Java — the similar name was a marketing decision.

Learning Objectives

After studying this lesson you will be able to:

  • Explain what JavaScript is, its history, and where it runs (client-side and server-side).
  • Distinguish JavaScript from Java and from ECMAScript.
  • Declare variables correctly using var, let, and const and explain scope and hoisting.
  • List and identify JavaScript's data types (primitive vs. reference/object).
  • Use operators correctly, especially == vs === and type coercion.
  • Write conditionals, loops, and functions (including arrow functions).
  • Predict the output of small code snippets — the most common exam format.
  • Avoid the classic mistakes examiners love to test.

Continue this lesson free: create an account

You have read the opening of this lesson. The full lesson (3,291 words, in English and Bangla) has worked examples, practice questions with answers and exam tips. A free account opens it and saves your progress.পুরো পাঠটি পড়তে বিনামূল্যে অ্যাকাউন্ট খুলুন।

More on this subject: Web Technology guide: syllabus by chapter and past questions

© 2026 ARBS Academy (Aether Brains). Questions' explanations, model answers and lessons are our original work; copying or republishing is not allowed.

© ২০২৬ এআরবিএস একাডেমি (Aether Brains)। প্রশ্নের ব্যাখ্যা, মডেল উত্তর ও লেসন আমাদের নিজস্ব কাজ; কপি বা পুনঃপ্রকাশ করা নিষেধ।