Articles

  • Jan 20, 2025 | medium.com | Justin Thomas

    Justin Thomas·Follow4 min read·--Photo by Rahul Mishra on UnsplashIs JavaScript Truly Object-Oriented? Before we dive into object-oriented programming (OOP) in JavaScript, let’s address the elephant in the room: Is JavaScript an OOP language? The answer is no, not in the traditional sense. Classical OOP languages like Java or C++ rely on strict class-based inheritance and other rigid principles. JavaScript, on the other hand, is a prototype-based language.

  • Dec 10, 2024 | medium.com | Justin Thomas

    Justin Thomas·Follow4 min read·--Photo by Raymond Rasmusson on UnsplashImagine you’re organizing a treasure hunt. Each clue leads to a hidden container holding a treasure: coins, gems, or even a secret map. These containers, with labels like Clue 1 or Treasure Chest, help you keep track of all your treasures. In JavaScript, variables are like those labeled containers. They store pieces of information — numbers, text, or even entire treasure maps (objects and arrays).

  • Dec 9, 2024 | medium.com | Justin Thomas

    Justin Thomas·Follow5 min read·--Photo by Adam Patterson on UnsplashImagine you’re the manager of a magical workshop. Each worker in your shop has a specific skill — some bake cakes, others fix machines, and a few create enchanting potions. These workers represent functions in JavaScript. They’re the heart of your workshop, tirelessly working to get things done when you call upon them. In this blog, we’ll explore functions in JavaScript, how they work, and why they’re so vital.

  • Dec 4, 2024 | medium.com | Justin Thomas

    Justin Thomas·Follow5 min read·--Photo by Ashin K Suresh on UnsplashImagine you’re the owner of a magical chest — this chest can hold all sorts of treasures: numbers, strings, objects, and more. This chest is called an array, and it’s one of the most powerful tools in JavaScript. But here’s the twist: this isn’t just any chest. It’s filled with magical array methods, each one designed to help you organize, search, and transform your treasures in incredible ways.

  • Dec 3, 2024 | medium.com | Justin Thomas

    Justin Thomas·Follow4 min read·--Photo by 🇸🇮 Janko Ferlič on UnsplashImagine you’re setting up a library. Every book has certain properties: its title, author, genre, and number of pages. In JavaScript, we can represent this idea using objects. Think of objects as bookshelves, where everything about a “thing” is neatly stored. An object is a standalone entity with properties (key-value pairs) and methods (functions that perform actions).

Contact details

Socials & Sites

Try JournoFinder For Free

Search and contact over 1M+ journalist profiles, browse 100M+ articles, and unlock powerful PR tools.

Start Your 7-Day Free Trial →