
TypeScript is an open source programming language intended to optimize the use of JavaScript.
Appeared in 2012, it was created by Anders Hejlsberg within the Microsoft company.
Code Examples
→ Let's start with very simple codes. The more you progress, page after page, the more sophisticated the scripts will be. However, you must go over 30 to 40 pages per level, before moving on to the next step...
→ In order to evaluate your codes, click on the icon on the left at the bottom of the page (gears), then choose a compiler from the list that will be open in another tab. Finally, test your work.
NOW REPRODUCE AND IMMERSE YOURSELF!
C 0001 - Hello World !
console.log('Hello world!');
C 0002 - Multiplication
function multiply(a: number, b: number) {
C 0003 - Value
class NamedValue<T> {

CHOOSE YOUR COMPILER
Reproduce this code, choosing one of the compilers below (♦ See DEF.) (don't copy-paste! It would be too easy). They have the same function, just pick up one according to your preferences.
When you copy your code, replace the existing code (by default) with your own.
Warning ! For some of these compilers, you might have to choose the programming language yourself, in a specific menu which is offered to you. Of course, don't forget to click on RUN !
TypeScript Technical Specifications
Most Recent Versions
Tools And Methodologies
Tests
Info+ (TypeScript)
* Created by Anders Hejlsberg at Microsoft
* Developed by Microsoft
* Written in Javascript and TypeScript
* Cross-platform
* Open Web Foundation License
Tools+ (TypeScript)
News
- TYPESCRIPT Exercises
- Hits: 88