HTTP to HTTPS

Challenge 📝

Resources 📚

A string url is given. It contains a URL with the HTTP protocol. Return this URL with the HTTPS protocol.

Examples:

http://jscodebox.com/ => https://jscodebox.com/

function http2https(url) {
}
Test Cases
Console Logs
JS Errors
Run Code!
flag