Put JavaScript Design Patterns into Practice
I run initially the examples , but after take a break 1.5 wks and run again / continue… Never make run again success an example… I get “Undefined” in browser console…
Put JavaScript Design Patterns into Practice
I run initially the examples , but after take a break 1.5 wks and run again / continue… Never make run again success an example… I get “Undefined” in browser console…
Have you tried the version of the code directly from the GitHub repo?
Not remember where download but before 1 mo all worked … can you tell GitHub link…?
Ah-ha! Try
runExample("factory")
You wrote ["factory"]. The runExample identifier is a function, not an array.
now worked
thanks