Skip to content

Commit

Permalink
fix:slow
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Feb 24, 2025
1 parent 8bd10f2 commit 2617094
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions idlecycles/chapter3.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,8 @@ <h3>Pattern as a class</h3>
Pattern.prototype.fast = function (factor) {
return fast(factor, this);
};

Pattern.prototype.slow = function (factor) {
return slow(factor, this);
return fast(1 / factor, this);
};
codeblock(document.currentScript, 6);
</script>
Expand Down

0 comments on commit 2617094

Please sign in to comment.