TypeScript - Stanford University
TypeScript
Jonathan Kula 12/3/2018
Introducing TypeScript
A superset of JavaScript. This means that all JavaScript code is valid TypeScript code!
TypeScript just adds some new features that will make your life easier. TypeScript adds a step between "code" and "browser" that checks your
code for consistency. (This is called the compiler.) TypeScript also adds additional syntax so you can tell the compiler what
you're trying to do; then, it'll try to help you do that. It's all about making your code more consistent.
function makeCircle(radius, x, y, gw) { let oval = GOval(x, y, radius * 2, radius * 2); gw.add(oval);
}
let gw = GWindow(400, 400);
makeCircle(50, 200, 200);
function makeCircle(radius, x, y, gw) { let oval = GOval(x, y, radius * 2, radius * 2); gw.add(oval);
}
let gw = GWindow(400, 400);
makeCircle(50, 200, 200);
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- mastering typescript 81 95 233 163 8888
- declare module typescript with default parameter functions
- typescript parse json to object
- typescript stanford university
- declare map interface type
- javascript patterns in typescript
- chapter 1 and the typescript language
- declare function in object javascript
- typescript modern javascript development
- f index signature
Related searches
- stanford university philosophy department
- stanford university plato
- stanford university encyclopedia of philosophy
- stanford university philosophy encyclopedia
- stanford university philosophy
- stanford university ein number
- stanford university master computer science
- stanford university graduate programs
- stanford university computer science ms
- stanford university phd programs
- stanford university phd in education
- stanford university online doctoral programs