Skip to content

Commit c26a8a9

Browse files
committed
Add tasks
1 parent 7205d30 commit c26a8a9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

JavaScript/Tasks.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Factory tasks
2+
3+
1. Take commented alternative implementation from `4-function.js` and rewrite it in TypeScript and pass `options` argument as union type with either `level` or `color`
4+
2. Improve example `5-static.js`: use ECMA or CommonJS exports to export separately Class and factory function
5+
3. Add `options` to `poolify` from `7-pool.js` to pass options to `factory` together with `poolSize` option
6+
4. Pass configuration to `Creator` constructor from `8-method.js` example to affect all instances created by `factoryMethod`

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy