JS Interview Question Part - 1

krishna hingu

profile
Best Seller
JS Interview Question Part - 1
profile
Digital Product
  1. Implement a function that serializes a Javascript value into a JSON string.
  2. Implement a function that performs a deep copy of a value, but also handles circular references.
  3. Implement a function that determines if two values are deep equal.
  4. Implement the functionality behaviour of Promise.any
  5. Implement the functionality behaviour of Promise.allSettled
  6. Implement a function that returns a memoized version of a function which accepts a single argument.
  7. Implement a function that deserializes a JSON string into a Javascript value.
  8. Implement a class that can subscribe to and emit events that trigger attached callback functions.
  9. Implement a debounce function that comes with a cancel method to cancel delayed invocations.
  10. Implement a function that recursively flattens an array into a single level deep.
20