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

JavaScript Interview Question #51: For Each Key

What happens here and what鈥檚 the output? . . . . . . . . . . . . . . . . . The first line of code defines a user object that has two fields: name and age....

September 11, 2021 路 1 min 路 Coderslang Master

JavaScript Interview Question #50: How does Intl.Collator work in JS

What is Intl.Collator and how does it work in JS? What鈥檚 the difference between two sorts? What will be logged to the console? . . . . . . ....

March 24, 2021 路 2 min 路 Coderslang Master

JavaScript Interview Question #49: Add a new array element by index

Will the length of the JS array change? What鈥檚 the output? . . . . . . . . . . . . . . . . . All JavaScript arrays have the push function....

March 21, 2021 路 1 min 路 Coderslang Master

JavaScript Interview Question #48: Dog-sized Cat. JS Object Properties

How many errors are in this code snippet? What鈥檚 the output? . . . . . . . . . . . . . . . . . In JavaScript there are two ways to get access to the object properties....

March 18, 2021 路 1 min 路 Coderslang Master

JavaScript Interview Question #47: How Object.setPrototypeOf works in JS

What is Object.setPrototypeOf in JavaScript? How does it work? What鈥檚 the output? . . . . . . . . . . . . . . . . . Theory The function Object....

March 15, 2021 路 2 min 路 Coderslang Master

JavaScript Interview Question #46: length of JS functions

What鈥檚 the value of the length field for JavaScript functions? What will be logged to the console? . . . . . . . . . . . . ....

March 12, 2021 路 1 min 路 Coderslang Master

JavaScript Interview Question #45: 小urrency formatting in JS

How to format a string into a local currency in JavaScript? What鈥檚 the output? . . . . . . . . . . . . . . . ....

March 9, 2021 路 2 min 路 Coderslang Master

JavaScript Interview Question #44: Number vs BigInt in JS

What happens if we add an n suffix to a regular number in JavaScript? What鈥檚 the output? . . . . . . . . . . . . ....

March 6, 2021 路 1 min 路 Coderslang Master

JavaScript Interview Question #43: Object.toString and Array.toString

What鈥檚 the difference between Object.toString and Array.toString in JavaScript? What鈥檚 the output? . . . . . . . . . . . . . . . . . A regular behavior of the JavaScript function Object....

March 3, 2021 路 1 min 路 Coderslang Master

JavaScript Interview Question #42: How Math.max works in JS

How exactly Math.max works in JavaScript? What鈥檚 the output? . . . . . . . . . . . . . . . . . In JavaScript, the function Math....

February 28, 2021 路 1 min 路 Coderslang Master