19 + if(actualUrl.length > 0) {
actualUrl is of type url, which doesn’t have a 'length' property, so actualUrl.length will always return undefined. You’ll need to do "actualUrl.toString().length".
« Back to merge proposal
19 + if(actualUrl.length > 0) {
actualUrl is of type url, which doesn’t have a 'length' property, so actualUrl.length will always return undefined. You’ll need to do "actualUrl. toString( ).length" .