Showing posts from November, 2025

Questions Asked in InterView

❓ // case 1 console.log(0.3 === 0.1 + 0.2)  // false // case 2 console.log(0.3 == 0.1 + 0.2)  // false Both are false because 0.1 + 0.2 is NOT exactly 0.3 in JavaScript . It results in a tiny floating-point error: 0.1 + 0.2 = 0.30000000000000004 So:…

Load More
That is All