I am making a hta app for a home project and I would like to use javascript classes. Is this possible? If a use the basic example I find on google it gives a syntax error in hta. works as a html though. Also for my project I have to use hta as the UI and cant install anything.
<html>
<head>
<meta http-equiv="x-ua-compatible" content="ie=edge">
<script>
resizeTo( 235, 246 );
moveTo( screen.width/2-210, screen.height/2-250 );
class Rectangle {
constructor(height, width) {
this.height = height;
this.width = width;
}
}
</script>
<title>toolset</title>
</head>
<body>
<div>some ui stuff</div>
</body>
</html>