What's wrong with this JavaScript JSON parse of numbers?

What's wrong with this JavaScript JSON parse of numbers losing precision. The JavaScript code parses JSON with large integers. In JavaScript numbers over 2^53 lose precision.

#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascriptapi #...

https://www.youtube.com/watch?v=HzY-p72-XaU

Whats wrong with this JavaScript JSON parse of numbers? #javascriptapi

YouTube

Why does this JavaScript trim not removing all whitespace?

Why does this JavaScript trim not removing all whitespace. The JavaScript code uses trim on user input. In JavaScript trim only handles space tab newline not unicode spaces.

#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascriptapi ...

https://www.youtube.com/watch?v=xY3yldw_8OM

Why does this JavaScript trim not removing all whitespace? #javascriptwhitespace

YouTube

What's wrong with this JavaScript BigInt mixing with Number?

What's wrong with this JavaScript BigInt mixing with Number in a calculator. The JavaScript code adds BigInt and Number. In JavaScript this throws and crashes the app.

#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascriptapi #jav...

https://www.youtube.com/watch?v=Ldda7gXnons

Whats wrong with this JavaScript BigInt mixing with Number? #javascriptnumber

YouTube

Why does this JavaScript Object is vs === for NaN?

Why does this JavaScript Object is vs === for NaN check. The JavaScript code uses === to detect NaN. In JavaScript Object.is is needed for NaN and negative zero.

#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascriptapi #javascriptengineeri...

https://www.youtube.com/watch?v=ViTzYGW4VsQ

Why does this JavaScript Object is vs for NaN? #whatswrongwiththisjavascriptcode

YouTube

Why does this JavaScript Object keys on array?

Why does this JavaScript Object keys on array returning string indices. The JavaScript code uses Object.keys on an array. In JavaScript keys are string numbers and holes are skipped.

#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascriptapi #ja...

https://www.youtube.com/watch?v=py5dxuq7WYI

Why does this JavaScript Object keys on array? #javascriptsecurity

YouTube

What's wrong with this JavaScript setTimeout closure?

What's wrong with this JavaScript setTimeout closure in a loop. The JavaScript code creates timeouts in a loop with var. In JavaScript all callbacks see the final value.

#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascriptapi #javascri...

https://www.youtube.com/watch?v=4_JoaMBt8IE

Whats wrong with this JavaScript setTimeout closure? #javascriptcodereview

YouTube

Why does this JavaScript Proxy trap missing?

Why does this JavaScript Proxy trap missing for operation. The JavaScript code uses Proxy but does not trap all operations. In JavaScript some property access bypasses the proxy.

#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascriptapi #javascri...

https://www.youtube.com/watch?v=HbLCpZCw4is

Why does this JavaScript Proxy trap missing? #javascriptproxy

YouTube
Googles WebMCP macht Websites zu strukturierten Datenquellen für KI-Agenten | heise online
https://heise.de/-11177824 #WebMCP #JavaScriptAPI #JavaScript #KI #KIAgenten

Why does this JavaScript eval in JSON parse?

Why does this JavaScript eval in JSON parse allowing code execution. The JavaScript code uses eval or Function to parse JSON. In JavaScript this executes any code in the string.

#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascriptapi #javascrip...

https://www.youtube.com/watch?v=UElA2CMyiHE

Why does this JavaScript eval in JSON parse? #javascriptbackend

YouTube
🎉 Wow, groundbreaking! Another developer desperately pleads for yet another JavaScript API improvement while failing to acknowledge the miraculous resilience of spaghetti code currently holding the universe together 🌐. But hey, at least they managed to slip in a dozen buzzwords to keep the #SEO gods happy! 🚀
https://blog.cloudflare.com/a-better-web-streams-api/ #JavaScriptAPI #SpaghettiCode #DeveloperBuzzwords #TechHumor #HackerNews #ngated
We deserve a better streams API for JavaScript

The Web streams API has become ubiquitous in JavaScript runtimes but was designed for a different era. Here's what a modern streaming API could (should?) look like.

The Cloudflare Blog