hotfix: lastOf was undefined
This commit is contained in:
parent
ef427758da
commit
210910eb6e
1 changed files with 1 additions and 1 deletions
|
|
@ -1483,7 +1483,7 @@ export const outside = register('outside', function (factor, f, pat) {
|
|||
* @example
|
||||
* note("c3 d3 e3 g3").lastOf(4, x=>x.rev())
|
||||
*/
|
||||
export const { lastOf } = register('lastOf', function (n, func, pat) {
|
||||
export const lastOf = register('lastOf', function (n, func, pat) {
|
||||
const pats = Array(n - 1).fill(pat);
|
||||
pats.push(func(pat));
|
||||
return slowcatPrime(...pats);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue