79380778

Date: 2025-01-23 11:13:42
Score: 1.5
Natty:
Report link

What about this solution? It seems easy and clean.

let current = 0;
let prev;

for (let i = 0; i < 100; i++) {
   console.log({ current, prev });
   let next = current + (prev || 1);
   prev = current;
   current = next;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Luca Carducci