Anyone have a guess as to what would happen if two...
# suitescript
a
Anyone have a guess as to what would happen if two custom modules both imported each other?
j
You generally want to avoid organizing code in away that produces circular dependencies, but NetSuite is using RequireJS, which has this to say on the subject https://requirejs.org/docs/api.html#circular
a
Well, that’s always true. I ask in the event that someone just makes a very human mistake.
The link is helpful. Thanks.