Troubleshooting
Problem
In Rational Application Developer V9.7, if user use Javascript keyword static with initialize value, there will be syntax validation error, for example, with following Javascript code:
class ClassWithStaticMethod {
constructor() {
constructor() {
}
static hello() { // static method
return "Hello!!";
}
static myprop="test";
}
static hello() { // static method
return "Hello!!";
}
static myprop="test";
}
There will be sytax error on line " static myprop="test";".
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"ARM Category":[{"code":"a8m0z000000bmcMAAQ","label":"Rational Application Developer-\u003EIES (Eclipse)"}],"ARM Case Number":"TS007756646","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
17 March 2022
UID
ibm16564231