wat BECAUSE JavaScript - Funny Design for Web Developers

design on product

The programming language JavaScript is known for some weird language design flaws, sometimes referred to as “wats”, a term popularized in the JS community through a hilarious talk by Gary Bernhardt.

This design features one of these wats. When you add an empty array to an empty object. You get 0 as the result and if you change the order of the operands you get the string representation of an object. Not necessarily what one would expect.

The code example is formatted similar to Chrome’s browser console using fonts in black, red, blue and grey. Below it the texts “BECAUSE” in all-caps italics and JavaScript in condensed font are printed in black.

The design is available on a white background on different products, such as stickers, phone and tablet cases and laptop sleeves. For apparel such as shirts and hoodies different colors can be chosen.

Buy design from

Redbubble

Please see the respective shop pages for details about available colors, product types and prices. The sizing charts will help you pick the right size for you or the lucky person in case you want to buy a gift.


You may also like

more programming languages shirts

Design published: by Ramiro Gómez
This design is available from the shops linked above. Available product options (size, color, type) and buying conditions differ across stores, so be sure to review them before you buy a product.

Disclosure: External links on this website may contain affiliate IDs, which means that I earn a commission if you make a purchase using these links. This allows me to offer hopefully valuable content for free while keeping this website sustainable. For more information, please see the disclosure section on the about page.