This should complete the task:
var StringProp=Object.getOwnPropertyNames(String); document.write(StringProp); -->> ["length", "name", "arguments", "caller", "prototype", "fromCharCode"]
But you may be more interested in:
var StringProtProp=Object.getOwnPropertyNames(String.prototype); document.write(StringProtProp); -->> ["length", "constructor", "valueOf", "toString", "charAt", "charCodeAt", "concat", "indexOf", "lastIndexOf", "localeCompare", "match", "replace", "search", "slice", "split", "substring", "substr", "toLowerCase", "toLocaleLowerCase", "toUpperCase", "toLocaleUpperCase", "trim", "trimLeft", "trimRight", "link", "anchor", "fontcolor", "fontsize", "big", "blink", "bold", "fixed", "italics", "small", "strike", "sub", "sup"]