Closed rin-st closed 6 months ago
Let's update this in every challenge backmerge PR 🙌
Created wrapper for that type of functions and added it to challenges 0-2.
Tried to use fn.name instead errorMessageFnDescription but it doesn't work well in our case since it returns name of initial function. Example:
fn.name
errorMessageFnDescription
f1 = () => {}; f1 = f2; // f1.name = 'f1'; f2.name = 'f1';
If it's ok I'll add it to other challenges too
Created wrapper for that type of functions and added it to challenges 0-2.
Tried to use
fn.name
insteaderrorMessageFnDescription
but it doesn't work well in our case since it returns name of initial function. Example:If it's ok I'll add it to other challenges too