Sobes.tech

There is an array of objects with a 'value' field. How to create a new array containing only the numeric values from these objects (excluding strings)? How to do this and how to check if a value is a number?

296

There is an array of strings representing item numbers of a hierarchical numbered list (e.g., '1', '1.1', '1.2', '1.10', '2', '2.1'). How to sort them correctly using the standard sort function with a callback?

153

There are two nested blocks A and B with specified sizes. How to position block B exactly at the center of block A? Offer several options, including solutions for older browsers without flexbox support.

150
/2