A script on NetSuite as the following, it is a Client Script which written in JavaScript with the API 2.0 of SuiteScript:
define(['N/currentRecord','N/record','N/search'],
function(currentRecord, record, search) {
for(i = 0; i< 10000; i++) {
...
}
function a() {}
}
return {
pageInit: pageInit
};
});
But there is nothing about the included modules(N/currentRecord, N/record and N/search) in the script.
Will the unused module inside the define() function affect the execution speed of SuiteScript or NetSuite?
And how about the unused function a()? Will it affect the performance of this script?