Jump to content

Talk:JavaScript

Page contents not supported in other languages.
Add topic
From Simple English Wikipedia, the free encyclopedia
Revision as of 13:45, 21 January 2021 by Djsasso (talk | changes) (top: subst unsigned)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Latest comment: 7 years ago by 94.212.249.212 in topic Where is sayBye()?

This page has links that go out not to where they say they do.  Preceding unsigned comment added by Marcotuts (talkcontribs) 15:15, February 10, 2009 (UTC)

Which ones? πr2 06:39, 28 December 2011 (UTC)Reply

Where is sayBye()?

[change source]

At this moment, the following code example is in the article:

function sayHi() {
    alert("hi!");
}

sayHi = function() {
    alert("Bye!");
}

sayBye();

Wouldn’t this result in “ReferenceError: sayBye is not defined”? 94.212.249.212 (talk) 17:04, 23 November 2018 (UTC)Reply