#javascriptapi β Public Fediverse posts
Live and recent posts from across the Fediverse tagged #javascriptapi, aggregated by home.social.
-
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 #...
-
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 ...
-
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...
-
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...
-
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...
-
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...
-
π 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 -
π 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 -
π 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 -
π 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