I suppose you intended this:
function run{
Structure[0]() // <--- notice the parentheses.
}
Without the parentheses, the function run
does not do anything. It just references the function, without invoking it.
solved Java Script function does not work [closed]