/books/javascript-brain-teasers
Faraz K. Kelhini @Faraz
edited by Margaret Eldridge @Margaret
If you’ve ever felt the exhilaration of cracking a thorny problem or the joy of witnessing elegant code that challenges your mind, then this book is tailor-made for you. Prepare yourself to dive into a diverse array of mind-bending JavaScript brain teasers. Each puzzle is more than just a code exercise; it’s a gateway to unlocking new insights and honing your abilities. As you work through the challenges, you’ll learn to think pragmatically, optimize your code for efficiency, and avoid hidden pitfalls that can catch you off guard. What’s more—the puzzle format will help you remember what you’ve learned!
Over the years, JavaScript has gained a bit of a reputation for its quirky and unique characteristics. It’s important for developers to be aware of these quirks to write more robust and predictable JavaScript code. In this book, we invite you on a journey designed to unveil the intricate nuances and peculiarities that define the language’s essence.
Learn how to simulate function overloading, embed hidden information within objects, develop self-contained functions capable of maintaining their own local state, generate number sequences using functional programming, handle exotic forms of IIFEs, and prevent loss of precision when dealing with large numbers. Grasp concepts like closures, hoisting, symbols, execution context, event queue, text normalization, and more, one puzzle at a time.
Discover how to create your own custom objects that function as shortcuts, accurately calculate the length of emojis and Unicode characters, master the usage of the “this” keyword, leverage bitwise operators, and convert color names to hex notation for universal use across various platforms. Plus, steer clear of those usual traps and blunders that trip up JavaScript developers.
Forget passive learning. With JavaScript Brain Teasers, you’ll actively engage with code puzzles that require creative thinking and problem-solving, which help you memorize difficult concepts.
Faraz Kelhini is the author of Modern Asynchronous JavaScript and Text Processing with JavaScript. With a profound understanding of the JavaScript language and its intricate APIs, Faraz’s journey has been fueled by a passion for championing innovative ideas that improve the coding experience, all while crafting solutions that seamlessly harmonize creativity and functionality.
- Full details: JavaScript Brain Teasers: Exercise Your Mind by Faraz K. Kelhini
- View this book’s portal and details on how to post errata and suggestions here.
Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout
Latest Threads About This Book
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years
Most Active Over Three Years
Book Info
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.