24 lines
370 B
Plaintext
Raw Normal View History

Call a non-callable symbol will result in a TypeError at execution.
== Noncompliant Code Example
----
function foo(a) {
return a * 2;
}
// ....
var foo = 1;
// ...
foo(); // foo is 1 => TypeError
----
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]