Skip to content

Commit 570ed1d

Browse files
committed
Add notes
1 parent 0723664 commit 570ed1d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎JavaScript/3-js-way.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
'use strict';
22

3+
// Note: this implementation is good for JavaScript culture
4+
// but it is not Flyweight (GoF Patterns) implementation
5+
36
const timers = new Map();
47

58
const free = ({ listeners, instance }) => (callback) => {

0 commit comments

Comments
 (0)