First Draft
First Draft of the Example Files
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
<script>
|
||||
function User(forename, username, password)
|
||||
{
|
||||
this.forename = forename
|
||||
this.username = username
|
||||
this.password = password
|
||||
this.showUser = showUser
|
||||
}
|
||||
|
||||
function showUser()
|
||||
{
|
||||
document.write("Forename: " + this.forename + "<br>")
|
||||
document.write("Username: " + this.username + "<br>")
|
||||
document.write("Password: " + this.password + "<br>")
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user