馃殌 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 馃挭

JS Interview #23: Array.splice

How many times can you splice the array in JavaScript? . . . . . . . . . . . . . . . . Let鈥檚 start with the definition of splice....

January 2, 2021 路 2 min 路 Coderslang Master

JS Interview #22: How `toString` works in JavaScript?

Let鈥檚 try to apply a generic toString function to a regular JavaScript array. What鈥檚 the output? . . . . . . . . . . . . . ....

December 30, 2020 路 1 min 路 Coderslang Master

JS Interview #21: ISO Date

How does the ISO date look in JavaScript? What will be logged to the console? . . . . . . . . . . . . . . ....

December 27, 2020 路 1 min 路 Coderslang Master

JS Interview #20: Can you sum arrays with objects in JavaScript?

What鈥檚 the sum of an empty object and an empty array in JS? Is there any length to be found? . . . . . . . . . ....

December 24, 2020 路 1 min 路 Coderslang Master

JS Interview #19: Catching the rejected Promise

Can you catch the Promise rejection in JS? Another unhandled rejection? . . . . . . . . . . . . . . . . In JS, it鈥檚 impossible to catch the unhandled promise rejection using the regular try/catch blocks....

December 21, 2020 路 1 min 路 Coderslang Master

JS Interview #18: What's the sum of two booleans in JavaScript?

Can you add booleans in JS? Is something false here? What will be logged to the screen? . . . . . . . . . . . . ....

December 18, 2020 路 1 min 路 Coderslang Master

JS Interview #17: Sum of two empty arrays in JavaScript

Is the sum of two arrays equal to false? . . . . . . . . . . . . . . . . To analyze this code snippet we need to understand how type conversion works in JS....

December 15, 2020 路 1 min 路 Coderslang Master

JS Interview #16: typeof NaN

What鈥檚 the type of Not a Number? . . . . . . . . . . . . . . . . In JavaScript, NaN means Not a Number. This is a special value that appears whenever JS can鈥檛 make sense of the numerical expression....

December 12, 2020 路 1 min 路 Coderslang Master

JS Interview #15: Getter function

Can we use an arrow function as a getter in JavaScript? What鈥檚 going on and what will be logged to the console? . . . . . . . ....

December 9, 2020 路 1 min 路 Coderslang Master

JS Interview #14: 0.1 + 0.2 = ?

JavaScript math is weird. What鈥檚 the output? True or false? . . . . . . . . . . . . . . . . . . Inside the computer, all numbers are stored in the Binary Number System....

December 6, 2020 路 1 min 路 Coderslang Master