Skip to content

Instantly share code, notes, and snippets.

@jwulf
Last active February 26, 2020 01:43
Show Gist options
  • Select an option

  • Save jwulf/c3b59f4915d4f644ea1a2c4ea0b26bed to your computer and use it in GitHub Desktop.

Select an option

Save jwulf/c3b59f4915d4f644ea1a2c4ea0b26bed to your computer and use it in GitHub Desktop.
//global variable
var memArray =[];
//object
function member(id, password){
this.id = id;
this.pwd = password
}
var memObj1=new member("m001","123");
memArray.push(memObj1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment