function MyString(str){
//var a = [];
var a = str.split("");
return a;
}
var s = new MyString("hello");
s.length; //5
s[0]; //"h"