Test Yantra Interview Question

They have given one word and asked to split them using JavaScript method