Playground Javascript interpreted as Typescript

As usual, I created a new JavaScript in the playground. The code is after save then interpreted as a TypeScript and you are bombarded with errors.

This is my last demo

You actually know that the errors are rightful ones, right? :slight_smile:

Because you created a class named Playground which is reserved for internal stuff.

2 Likes

Wanted to PM you…