SlideShare une entreprise Scribd logo
1  sur  22
Script# to TypeScript:
  The future of JS

Elad Katz
Private void     String   String[]




XMLHttpRequest
num Sum(num n1, num n2)
{
   return n1 + n2;        num Sum(num n1, num n2) => n1 +
};                        n2;

num n = Sum(5, 20);       String s1 = '9';
print(n);                 String s2 = '1';

                          num n = Sum(s1, s2);
                          print(n);
TypeScript
TypeScript
TypeScript
TypeScript
TypeScript
TypeScript

Contenu connexe

Tendances

Mining Correlations on Massive Bursty Time Series Collection (DASFAA2015)
Mining Correlations on Massive Bursty Time Series Collection (DASFAA2015)Mining Correlations on Massive Bursty Time Series Collection (DASFAA2015)
Mining Correlations on Massive Bursty Time Series Collection (DASFAA2015)Tomasz Kusmierczyk
 
Q1 create a java desktop application to find the largest number among the t...
Q1  create a java desktop application to find the largest number  among the t...Q1  create a java desktop application to find the largest number  among the t...
Q1 create a java desktop application to find the largest number among the t...Manoj Bhakuni
 
ClojureScript - A functional Lisp for the browser
ClojureScript - A functional Lisp for the browserClojureScript - A functional Lisp for the browser
ClojureScript - A functional Lisp for the browserFalko Riemenschneider
 
Ruby performance
Ruby performanceRuby performance
Ruby performanceSarah Allen
 

Tendances (7)

Inc decsourcefile
Inc decsourcefileInc decsourcefile
Inc decsourcefile
 
Ns tutorial
Ns tutorialNs tutorial
Ns tutorial
 
Mining Correlations on Massive Bursty Time Series Collection (DASFAA2015)
Mining Correlations on Massive Bursty Time Series Collection (DASFAA2015)Mining Correlations on Massive Bursty Time Series Collection (DASFAA2015)
Mining Correlations on Massive Bursty Time Series Collection (DASFAA2015)
 
C coroutine
C coroutineC coroutine
C coroutine
 
Q1 create a java desktop application to find the largest number among the t...
Q1  create a java desktop application to find the largest number  among the t...Q1  create a java desktop application to find the largest number  among the t...
Q1 create a java desktop application to find the largest number among the t...
 
ClojureScript - A functional Lisp for the browser
ClojureScript - A functional Lisp for the browserClojureScript - A functional Lisp for the browser
ClojureScript - A functional Lisp for the browser
 
Ruby performance
Ruby performanceRuby performance
Ruby performance
 

TypeScript

  • 1. Script# to TypeScript: The future of JS Elad Katz
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. Private void String String[] XMLHttpRequest
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. num Sum(num n1, num n2) { return n1 + n2; num Sum(num n1, num n2) => n1 + }; n2; num n = Sum(5, 20); String s1 = '9'; print(n); String s2 = '1'; num n = Sum(s1, s2); print(n);