Generation

generate functionSun, 13 Nov 2022

Detect if url data after slash

const detectSlash = (url) => { const afterSlash = url.split('/') return afterSlash[1] }

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant