Product mockup

"1" + 1; Developer T-Shirt

Black Heather / XS
£25.00
Sale price  £25.00 Regular price 
Skip to product information
Product mockup
1/5

"1" + 1; Developer T-Shirt

"1" + 1; evaluates to "11". The + operator, seeing a string on one side, concatenates instead of adding so the number is coerced to text rather than the text to a number.

The canonical example of JavaScript's type coercion, and the reason + is the operator people trust least.

£25.00
Sale price  £25.00 Regular price 
Mode: Dark Mode (Black Heather)
Size
Size guide
Your size:
View all sizes
Full size guide
100% cotton
Made to order
Dark + Light
Technical details
  • 100% combed and ring-spun cotton (Heather colours contain polyester)
  • Fabric weight: 4.2 oz./yd.² (142 g/m²)
  • Pre-shrunk fabric
  • Side-seamed construction
  • Shoulder-to-shoulder taping
  • Blank product sourced from Nicaragua, Mexico, Honduras, or the US

The fabric is slightly sheer and may appear see-through, particularly in lighter colours or bright lighting.

Printed on demand — each piece is made to order.

Care
  • Machine wash cold, inside out, with like colours
  • Tumble dry low, or hang to dry
  • Do not iron directly on the print
  • Do not bleach or dry clean
Shipping and returns

Shipping costs vary by region, so it's worth giving the delivery total at checkout a quick look before confirming your order. Some variants may show limited availability in certain locations—if fulfilment isn't available in your region, our suppliers will try to ship globally from the nearest facility that can produce that specific item. When this happens, delivery costs may be higher than expected due to the increased distance.

We're constantly reviewing suppliers and expanding fulfilment options, and new routes may open over time.

EU Product Safety (GPSR) Compliance

Part of the JavaScript collection, within Web & Frontend.

Available in Dark Mode and Light Mode.

JavaScript Type Coercion Explained: Why '1' + 1 = '11' Makes Sense

JavaScript Type Coercion Explained: Why '1' + 1 = '11' Makes Sense

JavaScript's '1' + 1 = '11' is confusing until you understand type coercion. The language converts types implicitly to make operations work, following consistent rules. Learning these rules prevents bugs and explains JavaScript's quirks.

Read the article

You may also like