Function With Multiple Paraments isnt working.

+1 Abhinav Shukla · February 28, 2015
This code is not working. I cant find the problem. Can anyone please help me?







function Mate (tra, ffa) {document.write("the" + tra "stink." + ffa);}
Mate("Patriots", "a liitle");
Mate("Dolphins", "alot");




Post a Reply

Replies

Oldest  Newest  Rating
0 Lotfi Ace · February 28, 2015

function Mate (tra, ffa) 

{

document.write("the" + tra + "stink." + ffa);

}
Mate("Patriots", "a liitle");
Mate("Dolphins", "alot");


you forgot to add the + after tra
  • 1

Javascript

107,314 followers
About

A scripting language that is added to standard HTML to create interactive effects, apps, games for the browser.

Links
Moderators