markjgsmith

Notes

Destructuring for the win - Just saw this in a nodejs tutorial:

const { API_KEY, API_SECRET_KEY, SCOPES, SHOP, HOST, HOST_SCHEME } = process.env;

Genius idea to use destructuring for getting environment variables. Can't believe I didn't think to do this before. #

For enquiries about my consulting, development, training and writing services, aswell as sponsorship opportunities contact me directly via email. More details about me here.