DEV Community

Dillon
Dillon

Posted on

Wrapper Function

If you want to specify arguments for a function, you need to use the wrapper function

it looks like this...

if the function were to be called by clicking a button

function thisFunctionName(param){
stuff the function does
}

thisFunctionName('param')}>
Button text

Top comments (0)