human
What is the difference between typescript and javascript?
gpt
Greetings! I am able to explain you the difference between typescript and javascript.

Javascript is a popular programming language, that is mostly ran in the browser.

Typescript, on the other hand, is a superset of javascript (meaning, it contains every feature of javascript, and more), that compiles to javascript. The main purpose of typescript is adding functionality for strongly typed variables. Here's an example for a list in typescript:
```js
let list: number[] = [1, 2, 3];
```
human
Can you show the same example in javascript for comparison?
gpt
Sure, here you go:
```js
let list = [1, 2, 3]
```