I want to set the value of a username form equal to the previously entered username if it exists in jade.
input.box(type = "text" name = "username" placeholder = "Username" value=`${username}`)
My current code looks like this but if I don't pass in a value for username, the value is set to undefined. How do I implement a check to see if the variable exists before the value is set to the username variable? Cheers