<|im_start|>user
What is the difference between typescript and javascript?<|im_end|>
<|im_start|>assistant
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];
```<|im_end|>
<|im_start|>user
Can you show the same example in javascript for comparison?<|im_end|>
<|im_start|>assistant
Sure, here you go:
```js
let list = [1, 2, 3]
```<|im_end|>
