* Try split the users message into a list of words with `const words = msg.split(' ');
* You could use if/else or switch statements or a combination of the two.
* You could just return a random string every time.
* The function should be able to return at least three different replies.
* You will need to use your `string-method-fu` here!
* What about an element of [randomness](https://www.w3schools.com/jsref/jsref_random.asp)?
michaelbotur Goto Github PK
Name: MichaelBotur
Type: User
Company: KiwiWords / The Developers Institute
Bio: KiwiWords communications writer; student with The Developers Institute, Whangarei NZ, learning full stack web dev. Also bigshot indie author.
Location: Whangarei, NZ
Blog: kiwiwords.co.nz