UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

8 lines 485 B
/** * 2024-09-07: Migrated from the same folder in fps-library-v2/banner... */ import { gRC } from "./otherStrings"; export const callFunctionNTimes = (func, n) => Array.from({ length: n }, () => func()); export const add1XX2XXChars = (input) => input.split('').map(char => char + gRC() + gRC()).join('').split('').reverse().join(''); export const rem1XX2XXChars = (input) => input.split('').reverse().filter((_, i) => i % 3 === 0).join(''); //# sourceMappingURL=sauce.js.map