My Stuff
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Comments
-
Hi Erick, The support team has confirmed (#4365429) that this is expected behavior for 2.0 since "const" is not supported. I'm not sure I fully understand why they chose to handle it this way instead of to error or parse as a normal var. This behavior is prone to cause hard to detect bugs, especially since it only occurs…
-
Hi Erick, I have a test script running in our account with a deployment ID of 587. Using "const testvar ..." Example Suitelet /** * @NApiVersion 2.x * @NScriptType Suitelet */ define([], function() { return { onRequest: function (context) { var output = []; for(var x = 0; x < 3; x++) { const testvar = { val: 1 };…