Created
June 28, 2018 10:31
-
-
Save humayunahmed8/5ca923928ad3ec3631af09153be4c941 to your computer and use it in GitHub Desktop.
Javascript Function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Javascript Funciton | |
function demo() { | |
var firstName = 'Humayun'; | |
var lastName = 'Ahmed'; | |
var fullName = firstName+' '+lastName; | |
document.write(fullName); | |
} | |
demo(); | |
// Change Function Data | |
function demo(firstName, lastName){ | |
var fullName = firstName+' '+lastName; | |
document.write(fullName); | |
} | |
demo('Humayun', 'Ahmed'); | |
document.write('<br/>================<br/>'); | |
demo('Rasel', 'Ahmed'); | |
document.write('<br/>================<br/>'); | |
demo('Humayara', 'Jannat'); | |
document.write('<br/>================<br/>'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment