Javascript class missing (#1592)

JavaScript code turns UML classes into function instead of creating class

the syntax for creating a Javacript class is here:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes

eg:

class Point {

   constructor (x, y) {

     this.x = x;

     this.y = y;

   }

note that now Javascript also manages the inheritance that must also be managed

Created
4 April 2019 21:56:08
Closed
5 March 2020 9:52:16
Requested by
fr016
State
Solved
Version
11.97
OperatingSystem
windows 10 x64
Solved in
12.40

Dusan Rodina - softwareideas.net 17 April 2019 8:54:59

Hello,

I apologize for the late answer. The current JavaScript template in Software Ideas Modeler was created for older JavaScript standard. It will be updated in the upcoming version.

TrackedRequestComment
Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]