In the documentation, nlapiRequestURL is detailed as such:
nlapiRequestURL(url, postdata, headers, callback)
• url {string} [required] - The HTTP(s) URL being requested - (fully qualified unless
NetSuite page)
• postdata [optional] - Body used for a POST request. It can either be an associative
array of form parameters or a string. If null, then a GET request is used.
• headers {hashtable} [optional] - An associative array of name (header) value (header
value) pairs
• callback [optional] - A callback function called when the request is completed (Client
SuiteScript only)
In 2 of the 3 example, however, there is a FIFTH parameter:
nlapiRequestURL( 'https://webservices.netsuite.com/wsdl/v1_2_0/netsuite.wsdl', null, a, handleResponse, 'async' );
nlapiRequestURL( 'https://webservices.netsuite.com/wsdl/v1_2_0/netsuite.wsdl', null, a, null, 'popup' );
So 'asynch' and 'popup'.... What's up with that? Is the documentation adding a parameter that doesn't exist, or failing to describe a parameter that does exist?