Saturday, 2 September 2017

How to call a function from another file?

So there are two files; lets call one "A" and the other one "B". I want to run a function that I have created in file "A" in file "B". But file "A" is dependent on a module that file "B" uses. So how would I go about this. I have tried to create a little snippet of code http://ift.tt/2etuUP1 . Could anyone give me help or something to learn from as im trying to learn JS.

Submitted September 02, 2017 at 11:21PM by nightfuryninja1

No comments:

Post a Comment