OskaDev

OskaDev

Series

Javascript

In this series, will contains all javascript related blog such as React, NodeJS and other which using Javascript too.

Articles in this series

Pre & Post Function

Jun 26, 20191 min read

Pre Function Pre function mean the function already fixed and unable to change later. const scope = { fn: () => console.log("OK") }; const fn = scope.fn(); scope.fn = () => console.log("NOT OK"); fn(); // OK Lazy / Post Function Post function m...