Skip to main content
VLAZ's user avatar
VLAZ's user avatar
VLAZ's user avatar
VLAZ
  • Member for 10 years, 11 months
  • Last seen this week
249 votes
Accepted

What is the difference between const and const {} in JavaScript?

54 votes
Accepted

Why does "[] + {} === {} + []" evaluate to "true"?

42 votes
Accepted

Is performing a mapping operation without using returned value an antipattern?

33 votes
Accepted

Understanding Event Queue and Call stack in javascript

29 votes
Accepted

What are "class fields" in JavaScript?

28 votes
Accepted

Currency formatting using Intl.NumberFormat without currency symbol

28 votes
Accepted

How to filter HTML Collection in JavaScript?

26 votes

Get the currency symbol for a locale

22 votes

What does the '@' symbol do in JavaScript multiline comments?

19 votes
Accepted

How to accomplish stongly-typed ids in TypeScript?

19 votes

Why does [NaN].includes(NaN) return true in JavaScript?

18 votes
Accepted

Using groupBy and map to transform data using LoDash and Moment

17 votes
Accepted

Variables in a Javascript module visible outside of it?

17 votes

I don't understand about spread syntax inside objects

17 votes
Accepted

Jasmine - When to use toContain() or toMatch()?

16 votes
Accepted

Why does a regex using an unescaped dash `-` character not seem to work in a `pattern` attribute in HTML but it works when testing on regex101?

15 votes

How to get a number value from an input field?

14 votes

How does bitwise operation work on Booleans?

14 votes

Why can the `async` and `await` keywords be assigned to?

13 votes

Length of sparse arrays

13 votes

Sliding window over Array in JavaScript

12 votes
Accepted

Typescript Hoisting

11 votes

Why Number.isFinite dont have type guard?

11 votes

When should I use ?? (nullish coalescing) vs || (logical OR)?

11 votes

Improve the speed of a JavaScript function

11 votes
Accepted

How to get the name of TypeScript enum type in runtime?

11 votes
Accepted

Avoiding fields declaration duplication in interface and class definition

10 votes
Accepted

Is there a maximum delay limit for window.setInterval

10 votes
Accepted

How to disable console.log messages based on criteria from specific javascript source (method, file) or message contents

10 votes
Accepted

How to convert an array of character codes to string in JavaScript?

1
2 3 4 5
31