Passing default values to an object parameterPassing default values to function parameters can avoid nasty 'undefined' surprises and give us better control over our code. Open parenthesis, write a variable name, add equals, write the initial value you want, and close parenthesis. Easy peasy. No...Aug 27, 2021 · 1 min readdmartorell.hashnode.dev
MemoizationEven though you made sure your computer was installed with the hottest technology, all the excitement will be over once you try to calculate the 40th Fibonacci number. The guy has been gone for almost 800 years but his famous sequence is still making...Jul 5, 2021 · 2 min readdmartorell.hashnode.dev