eg Chunk
chunk(arr, size) in src/x.js should split an array into chunks of `size` with a possibly-shorter final chunk, but it silently drops the last partial chunk (chunk([1,2,3,4,5], 2) loses [5]). Fix the loop so trailing elements are included.when to use it
Community prompt sourced from the open-source GitHub repo elon-choo/fablever (MIT). A "eg Chunk" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
elon-choo/fablever · MIT