I am having an array of String
var array = ["apple","banana","orange"]
I want trying to convert each of this string to object in this way;
var objectA = new Object(array[0]);
Now when I am checking with
console.log(typeof(a), " ", a)
It is showing as
object String {0: "a", 1: "p", 2: "p", 3: "l", 4: "e", length: 5} ;
What is my mistake and how can I get apple as an Object? Any help will be appreciated