Skip to content

#Task9 Yury.Lagodich #223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

#Task9 Yury.Lagodich #223

wants to merge 2 commits into from

Conversation

zym43210
Copy link

@zym43210 zym43210 commented Jul 6, 2020

Copy link
Collaborator

@KostyaKov KostyaKov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll mark the PR as "Draft", please click "ready for review" when it will be finished. Thank you!

@@ -47,15 +49,17 @@ function getComposition(f,g) {
*
*/
function getPowerFunction(exponent) {
throw new Error('Not implemented');
return (item) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you can use arrow function with single return without brackets

@@ -84,7 +90,14 @@ function getPolynom() {
* memoizer() => the same random number (next run, returns the previous cached result)
*/
function memoize(func) {
throw new Error('Not implemented');
let buf = null;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The solution can be simplified without variable

@KostyaKov KostyaKov marked this pull request as draft July 29, 2020 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants