How can a String be converted to an Array in Javascript without utilizing the split() function or any other pre-built methods?
Here is an example:
str = "Iam a fullstack javascript developer"
The resulting array should look like this:
arr = [ 'Iam', 'a', 'fullstack', 'javascript', 'developer' ]
To verify, you can run this code:
console.log(arr[0]) // Iam