문제 링크 : Defanging an IP Address
/**
* @param {string} address
* @return {string}
*/
var defangIPaddr = function(address) {
return address.replaceAll(".", "[.]")
};
/**
* @param {string} address
* @return {string}
*/
var defangIPaddr = function(address) {
return address.replace(/\./g, "[.]")
};