Menu Home

Author Archives

thevirtuoid

Web Tinkerer. No, not like Tinkerbell.

Creator of the game Virtuoid. Boring JavaScript. Visit us at thevirtuoid.com

WebAnimation

Hi everyone, and welcome to another exciting edition of Boring JavaScript! Today, we tackle WebAnimation, a great way to mirror all the great animation features you find in CSS, right in your own JavaScript application. And the best part is – you can make it dynamic! Of course you can, it’s JavaScript. Get your inner Walt Disney going and check out the video.

arguments

Hi everyone, and welcome to our first video for 2020! Today, we tackle the arguments reserved variables – what it is, how it is used, and most importantly, why you should NEVER use it! But don’t worry – we’ll show you the ES6 alternative. Ring in the new year with a video sure to put those Zs into your sleep.

Holiday Game 2021

Hi everyone, and welcome to our End of Year edition of Boring JavaScript! Like last year, our gift to you is a simple game that you can take, refactor, and do whatever you want with it. It’s called Krampus Night, and I hope you’ll find it educational and maybe a little fun. It’s been a great 2021, and we can’t wait to show you what we have in store for 2022. Enjoy!

Getter and Setter

Hi everyone, and welcome to another exciting edition of Boring JavaScript! Today we tackle the ‘get’ and ‘set’ keywords, which creates what are know as ‘getter’ and ‘setter’ routines. A great way to create read-only and write-only properties on objects. Write-only? Absolutely! Using ‘get’ and ‘set’ is a great way to unleash the power of objects and classes, and this blog is a great way to fall asleep. Check it out!

Array.findIndex()

Hi everyone, and welcome to another exciting edition of Boring JavaScript! Today, we take a look at the Array.findIndex() method. Wait … didn’t we already do one on this just a few weeks ago? Nope – that was Array.find(). Totally different – in name and return value. Otherwise, just the same. So, yes, double the boredom, double the sleep. Click on the video and watch!

Error()

Hi everyone! And welcome to another exciting edition of Boring JavaScript! Today, we take on the Error() object. You’re all familiar with this – that wonderful CRASH you see when you’ve done something you shouldn’t have. But fear not, for I’ll show you what’s inside that Error() object, how to capture it and report on it, and how to create and throw your own! Everybody’s going to sleep on this one, so watch it now and avoid the crowds.

Array.find()

Hi everyone, and welcome to another exciting edition of Boring JavaScript! Today, we tackle the Array.find() method. Actually, not really tackle it – just sort of push it around a bit. The Array.find() method is VERY easy to use – so much so that this is one of our shortest blog posts in a while. Not much time for you to fall asleep here. Give the post a quick view and prove me wrong.

MessageChannel()

Hi everyone! And welcome to another exciting edition of Boring JavaScript! Today, we take a look at the MessageChannel() object, and the Channel Messaging API. Have two iFrames on your page and you don’t know what to do with them? Want to say something to your Shared Worker but don’t know the right words? Worry no more! We’ll show you an easy (and we mean EASY) to get everybody talking to everybody else. Put away those sleeping pills and join us for some communication fun!

Symbol

Hi everyone, and welcome to another exciting edition of Boring JavaScript! Today, we talk about the Symbol data type – one of the primitive data types available in JavaScript. It’s real easy to use, and gives you a value guaranteed to be unique and immutable. Perfect for processing that data where there could be duplications. And perfect for falling asleep whilst viewing. Throw away those sleeping pills and check out the video!

Generator

Hi everyone, and welcome to another exciting edition of Boring JavaScript! Today, we discuss Generator Functions! I’ve been waiting months to bring you this topic, and it’s a LONG one. But don’t worry! There is plenty of material to teach you the basics of generating your own iterators (and why you should do so). Crank up your video player, settle back with a hot beverage, and dive deep into a subject you’d be sure to use a lot.