Peter Kröner
Best of the Worst – the most awful anti-features in JavaScript, ranked!
#1about 2 minutes
Ranking the worst features in JavaScript's history
An introduction to JavaScript's most confusing and sometimes useful anti-features, ranked using a classic internet tier list.
#2about 4 minutes
The unexpected behavior of primitive object wrappers
Primitive wrappers like `new Boolean(false)` create objects that are always truthy, leading to confusing behavior in conditional statements.
#3about 5 minutes
Using the function constructor to access the global scope
The `new Function()` constructor always executes in the global scope, providing a reliable way to bypass locally shadowed global variables like `window` or `undefined`.
#4about 2 minutes
How JavaScript's global scope and environment records work
The global scope is a special environment record that uses the `window` object as a backend for storing variables.
#5about 3 minutes
Why the `with` statement slows down all JavaScript code
The `with` statement prevents static analysis of variable locations, forcing JavaScript engines to disable certain optimizations and making all code potentially slower.
#6about 3 minutes
How new keywords are added without breaking old code
JavaScript introduces new syntax like `for...of` by using contextual keywords, which are only treated as keywords in specific positions to maintain backwards compatibility.
#7about 6 minutes
The many pitfalls and traps of using parseInt
`parseInt` has multiple issues, including returning a float and auto-detecting hexadecimal prefixes, which can lead to unexpected bugs.
#8about 1 minute
A rapid review of other strange JavaScript features
A quick look at other historical oddities like `document.all`, `new Array()`, and deprecated string HTML wrapper methods.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
03:40 MIN
The origin and design philosophy of JavaScript
JavaScript the Grumpy Parts
06:43 MIN
Understanding JavaScript's forgiving nature and its quirks
JavaScript the Grumpy Parts
32:56 MIN
Decoding common javascript obfuscation techniques
Cracking the Code: Decoding Anti-Bot Systems!
00:37 MIN
The web is slow and fragile because of JavaScript
The Lean Web
25:22 MIN
Exploring web development quirks and creative AI failures
WeAreDevelopers LIVE – Building on Algorand: Real Projects and Developer Tools
14:46 MIN
Weaponizing old and obscure browser features
Defeat that legacy monster! Guerilla refactoring with web standards
25:45 MIN
JavaScript's journey from browser wars to native APIs
The State Of The Web
00:52 MIN
Why HTML is inherently more resilient than JavaScript
The Resilience of the World Wide Web
Featured Partners
Related Videos
JavaScript the Grumpy Parts
Rob Richardson
The year 3000, a brief history of Web Development
Lorenzo Pieri
Defeat that legacy monster! Guerilla refactoring with web standards
Peter Kröner
C++ Features You Might Not Know
Jonathan Müller
Catching up on the basics you don't really need that much code
Chris Heilmann
Things I learned while writing high-performance JavaScript applications
Michele Riva
The 2025 State of JavaScript Testing
Daniel Afonso
Explore new web features before everyone else
Nikita Dubko
From learning to earning
Jobs that call for the skills explored in this talk.

Software Engineer
tree-IT GmbH
Bad Neustadt an der Saale, Germany
Remote
€54-80K
Intermediate
Senior
Java
TypeScript
Spring Boot
![Senior Software Engineer [TypeScript] (Prisma Postgres)](https://wearedevelopers.imgix.net/company/283ba9dbbab3649de02b9b49e6284fd9/cover/oKWz2s90Z218LE8pFthP.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
Senior Software Engineer [TypeScript] (Prisma Postgres)
Prisma
Remote
Senior
Node.js
TypeScript
PostgreSQL



Senior PHP Developer (NL based only)
Online Payment Platform
Delft, Netherlands
€75-95K
Senior
PHP
MySQL
Laravel

Senior Java Developer
Picnic Technologies B.V.
Amsterdam, Netherlands
Senior
Java
Spring
Amazon Web Services (AWS)


