Talk:JavaScript

Latest comment: 5 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

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

Return to "JavaScript" page.