These are my personal study notes on JavaScript. I write and refine them while studying the language and using it to build browser applications. The notes bring core ideas, examples, and practical checks together so I can revisit what I have learned in one place.
The chapters begin with JavaScript values and control flow, then build toward functions, data structures, browser programming, asynchronous work, modules, and the language's object model. Each topic uses plain explanations and runnable examples.
- Core chapters explain the language and browser concepts in a useful learning order.
- All code samples gathers the examples from the topic chapters in one reference.
- Complete Q&A records questions and clear answers across the notes.
The examples use JavaScript as the programming language. HTML appears where it is needed to show how JavaScript works with a web page. Try the examples in a browser console or a small local project, then change the inputs and observe the result.
- JavaScript foundations and runtime
- Values, variables, and types
- Operators and control flow
- Functions, scope, and closures
- Arrays and iteration
- Objects, destructuring, and immutability
- Strings, numbers, dates, and JSON
- The DOM and browser events
- Forms, validation, and browser storage
- Errors, debugging, and testing
- Asynchronous JavaScript and promises
- Fetch and REST APIs
- Modules, npm, and project structure
- Prototypes, this, and classes
- Collections, iterators, and generators
- Browser security, accessibility, and performance
- All code samples
- Complete Q&A
These are my own learning notes, not a replacement for checking the JavaScript and browser documentation when details depend on an environment. I update examples as I practice and use the language.
- Portfolio: https://www.ashishranjan.net
- GitHub: https://github.com/a2rp
- CodePen: https://codepen.io/ash1198
- LinkedIn: https://www.linkedin.com/in/aashishranjan
- Facebook: https://www.facebook.com/theash.ashish/
- YouTube: https://www.youtube.com/@ashishranjan-ashz?sub_confirmation=1
- Email: mailto:ash.ranjan09@gmail.com
- Support: https://a2rp-donation-page.netlify.app/
- Buy Me a Coffee: https://buymeacoffee.com/ashishranjan
- Patreon: https://www.patreon.com/ashishranjan