Abhijitsingh Sisodiyaabsis.hashnode.dev·Aug 25, 2024BigInt: Big brother of Number we didn't knew about in Javascript!!I’ve been using JavaScript for over seven years, and I thought I knew the language well. But recently, I discovered there’s still so much to learn—especially when it comes to the Primitive Types in JavaScript that I wasn’t even aware of! For example,...safe numbers javascript
Atul Kharwalatulkharwal.hashnode.dev·Feb 1, 2024Unveiling the Power of BigInt in JavaScript: A Game-Changer for Numeric PrecisionIn the dynamic realm of JavaScript, staying at the forefront of language features is crucial for developers seeking optimal solutions. One such groundbreaking addition to the language is BigInt, introduced in ECMAScript 2020. This feature opens new h...BigInt
Oladetoun Gbemisolaoladetoungee.hashnode.dev·Oct 12, 2023BigInt vs. parseInt in JavaScript: Working with NumbersHy everyone, Welcome back to my blog😊. I was solving a leet code question about a week ago and I had the algorithm ready passing all three sample test cases, I tried submitting and the solution wasn't accepted for test cases with extremely large num...12 likes·273 readsJavaScript
Akash Deep Chitranshcodechitra.hashnode.dev·Feb 27, 2023JavaScript BigIntBigInt was introduced in ES2020. BigInt is one of the primitives in JavaScript. Why We Need BigInt? In JavaScript, regular numbers are represented internally as 64 bits. that means there are exactly 64 0's and 1's to represent any number. Only 53 out...1 likeJavaScript