How to pass properties to a variable function? variable() works but when I try to pass a property i get "Uncaught TypeError: variable is not a function"
function firstFunc(a) {
return `${a}`;
}
let variable = firstFunc();
document.write(variable(1));