javascript - Why isn't this function working on greasemonkey -


why isn't function working in greasemonkey.

function arre(){     var index;     var fruits = ["banana", "orange", "apple", "mango"];     (index = 0; index < fruits.length; index++) {         window.alert(fruits[index]);     } } 

you declared function did not call it. add end:

arre();


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -