79107896

Date: 2024-10-20 19:35:01
Score: 0.5
Natty:
Report link

Because native javascript object doesn't have a reduce method. Try obj.toString() or obj.hasOwnProperty(). Maybe you wanted to Array.reduce? If so, do it like this:

type A<T>  =  {
    readonly prop1: string;
    readonly prop2: string;
} & Array<T>;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: egorgrushin