Forum Discussion

dvj's avatar
dvj
New Contributor
15 years ago

Re-use own javascript functions

Hi!



I've been trying to figure out how to re-use my own javascript functions across scripts. For example I have a function called testIfSimilar that checks if a property with float value is close to another float value (not equal, but almost) .



I need to re-use this, and I don't want to copy paste it across scripts. Any suggestions?