1 min readDec 13, 2016
Thanks, Lin. Yes, in this example sequenceObject is more like a singleton. If we wanted to create multiple instances of sequenceObjects, we can use a plain function instead of an IIFE.
Thanks, Lin. Yes, in this example sequenceObject is more like a singleton. If we wanted to create multiple instances of sequenceObjects, we can use a plain function instead of an IIFE.
For my day job @Salesforce, I write code for machines; But in my free time, I pursue this wild hobby of writing for humans. {Learn | Code | Read | Write}