F Faramir Ars Legatus Legionis 26y 36,356 Subscriptor Oct 8, 2013 #3 Oct 8, 2013 Add bookmark #3 Code: var MyOtherModule = { process: function(text) { return " }, startup: function() { return "Start up"; }, shutdown: function() { return "Shut down"; } } Is there a typo there or is the third line supposed to be return "? I'm still trying to understand semi-colon insertion in js ... ••• More options Report Add bookmark Share
Code: var MyOtherModule = { process: function(text) { return " }, startup: function() { return "Start up"; }, shutdown: function() { return "Shut down"; } } Is there a typo there or is the third line supposed to be return "? I'm still trying to understand semi-colon insertion in js ...