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
- file management search and replace keyboard shortcuts for
- git cheat sheet gitlab
- javascript quick reference card1 cheat sheets
- typescript stanford university
- table of contents react etc
- table of contents
- making javascript manageable
- design and uml class diagrams university of washington
- html javascript src absolute path
- pdfkit guide
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