79608414

Date: 2025-05-06 09:47:53
Score: 1
Natty:
Report link
class Foo implements IFoo {
  func(x: string | number) {
    if (typeof x === 'string') {
      x.toLowerCase();
    } else {
      // deal with numbers if needed
      console.log(x);
    }
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mien