saltar al contenido principal
código

práctica de mecanografía en typescript

el hilo que recorre cada peldaño

a bus timetable

20 peldaños

0 de 20empezar
  1. 01 · say something

    calling a function

    primera vez que escribes" ( ) . ;

  2. 02 · a name with a type on it

    an annotation

    primera vez que escribes, : =

  3. 03 · a shape of its own

    an interface

    primera vez que escribes{ }

  4. 04 · a part that might not be there

    an optional field

    primera vez que escribes?

  5. 05 · one of a few

    a union of exact values

    primera vez que escribes|

  6. 06 · a list of shapes

    an array with a type

    primera vez que escribes[ ]

  7. 07 · a note to yourself

    a comment, and arithmetic

    primera vez que escribes* + - /

  8. 08 · a choice

    if and else

    primera vez que escribes>

  9. 09 · a name for a job, typed

    what goes in and what comes out

    primera vez que escribes<

  10. 10 · go through them

    a loop over a typed list

    nada nuevo que alcanzar

  11. 11 · words with values in them

    a template string

    primera vez que escribes$ `

  12. 12 · is it the same?

    equality, and its opposite

    primera vez que escribes!

  13. 13 · make a new list from an old one

    map

    primera vez que escribes'

  14. 14 · keep only some of them

    filter, and two conditions

    primera vez que escribes&

  15. 15 · when there is nothing there

    a fallback for a missing part

    nada nuevo que alcanzar

  16. 16 · a quote inside a quote

    the other quote mark

    nada nuevo que alcanzar

  17. 17 · every other hour

    the remainder, and a counting loop

    primera vez que escribes%

  18. 18 · a shape that works for anything

    a type left blank until used

    nada nuevo que alcanzar

  19. 19 · narrowing a union

    the type decides the answer

    nada nuevo que alcanzar

  20. 20 · the whole thing

    everything so far, doing one job

    nada nuevo que alcanzar