79571085

Date: 2025-04-13 00:49:16
Score: 0.5
Natty:
Report link

js/ts:

function getRage(start: number = 0, count: number = 10) {
  let arr = [];
  while (count > 0) {
    arr.push(start);
    start++;
    count--;
  }
  return arr;
}

vue:

<select>
    <option v-for="v in getRage(1, 31)" value="v">{{ v }}</option>
</select>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tyler Xue