Client Script - Carriage Return/New Line

Client Script - Carriage Return/New Line

let message = "You entered:\ntest\ntest";
ZDK.Client.showConfirmation( message,'✅ Yes', '❌ No');

The above confirmation displays: You entered:testtest
but I need for it to display
You entered:
test
test

For some reason the \n does not return a new line. Any idea on how this can be achieved? idk