commented out wat?

Pasted by karl on Fri Oct 8 10:41:36 2021 UTC as JavaScript
If the final lines are in the file _commented out_ I get an error on rendering: 

SyntaxError

missing } after function body
  in http://192.168.3.127/luci-static/resources/view/rme/output-etactica-logread.js?v=git-21.231.26241-422c175:25
  at compileClass/< (http://192.168.3.127/luci-static/resources/luci.js?v=git-21.231.26241-422c175:181:29)
  at promise callback*compileClass (http://192.168.3.127/luci-static/resources/luci.js?v=git-21.231.26241-422c175:180:29)
  at promise callback*require (http://192.168.3.127/luci-static/resources/luci.js?v=git-21.231.26241-422c175:186:112)
  at instantiateView (http://192.168.3.127/luci-static/resources/ui.js?v=git-21.231.26241-422c175:304:252)
  at  (http://192.168.3.127/cgi-bin/luci/admin/services/output-etactica/logs:51:7)
  at promise callback* (http://192.168.3.127/cgi-bin/luci/admin/services/output-etactica/logs:50:19)

If I _delete_ the commented out lines, I get a beautifully rendered remark about my struggles with javascript...



'use strict';
'require ui';
'require view';

return view.extend({
	render: function() {
		return E([
			E('h4', {}, _('Oh boi, javascript is delightful...'))
		]);
	},
	handleSave: null,
	handleSaveApply: null,
	handleReset: null
});

// If this code below is included, commented out like this... rendering fails...
//return view.extend({
//	render: function() {
//		var m = new test1.Junk("blah"));
//		return m.render();
//	}
//});