Iterators in JavaScript using Quokka.js

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • 💖 Quokka, the funky inline evaluation tool used in the video (Show sponsor)
    quokka.funfunfu...
    🔗 Fun Fun Forum topic for the video
    www.funfunforu...
    🔗 Support the show by becoming a Patreon
    • Patreon + Fun Fun Foru...
    🔗Code from the episode
    github.com/mpj...
    🔗 mpj on Twitter
    / mpjme
    🔗 Help translate the show to your language
    www.youtube.com...
    Today, we're going to talk about Iterators in JavaScript. Iterators in JavaScript are what the for ... of loop uses when iterating over an Array, but the for ... of loop can actually iterate over anything, built in JavaScript objects like Strings, Maps, Set or your own custom JavaScript objects, as long as those objects provide an Iterator.
    Quokka is this great little plugin that provides inline evaluation of your JavaScript. You've seen me use Quokka a lot in Fun Fun Function videos to showcase JavaScript code, just because I think it's a great tool, but this episode is actually graciously sponsored by Quokka, so as thanks for supporting the show, I'm going to show it off a little extra. If you want to check it out, go to quokka.funfunfu....
    💛 Follow on Twitch and support by becoming a Subscriber
    We record the show live Mondays 7 AM PT
    / funfunfunction
    💛 Fun Fun Forum
    Private discussion forum with other viewers in between shows. www.funfunforu.... Available to patron members, become one at / funfunfunction
    💛 mpj on Twitter
    / mpjme
    💛 CircleCI (Show sponsor)
    Robust and sleek Docker-based Continuous Integration as a service. I used CircleCI prior to them becoming a sponsor and I love that their free tier is powerful enough for small personal projects, even if they are private. Use this link when you sign up to let them know you came from here:
    circleci.funfu...
    💛 Quokka (Show sponsor)
    Wonder how MPJ evaluates JavaScript inline his editor. Quokka is the answer - use this link when you buy to let them know you came from here:
    quokka.funfunfu...
    💛 FUN FUN FUNCTION
    Since 2015, Fun Fun Function (FFF) is one of the longest running weekly RUclips shows on programming 🏅 thanks to its consistency and quality reaching 200,000+ developers.
    🤦‍♂️ The Failing Together concept is what makes FFF unique. Most coding content out there focus on step-by-step tutorials. We think tutorials are too far removed from what everyday development is like. Instead, FFF has created a completely new learning environment where we grow from failure, by solving problems while intensively interacting with a live audience.
    Tutorials try to solve a problem. Failing Together makes you grow as a developer and coworker.
    📹 Each show is recorded live on Twitch in a 2-hour livestream on Mondays. The host, assisted by the audience, is tasked to complete a programming challenge by an expert guest. Like in the real world, we often fail, and learn from it. This, of course, reflects what the audience identifies with, and is one of the most praised aspects of the show.
    ⏯ On Fridays, an edited version of the show is adapted for and published on RUclips.
    Content Topics revolve around: JavaScript, Functional Programming, Software Architecture, Quality Processes, Developer Career and Health, Team Collaboration, Software Development, Project Management

Комментарии • 306