=== on 15 Mar 2016, 09:45:14 Pierre-Yves Nicolas wrote: Useful links: * \https://javascriptweblog.wordpress.com/2010/08/16/understanding-undefined-and-preventing-referenceerrors/ * \https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined We could make this rule also cover invalid function calls, e.g.: ---- var x = 42; x(); // Noncompliant: TypeError will be thrown ---- However, there may be some overlap with RSPEC-2999. include::../comments-and-links.adoc[]