var string = "deceMber iS Here"
I tried this but I get an error saying it is not a function.
string.split(" ").toUpperCase()
I want output this way "December, Is, Here"
edit: This question is not a duplicate. I did lot of search and the links that provided did not meet my need. It is very specific question.