• babybus
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    27 days ago

    No. JavaScript doesn’t have types. Java and TypeScript are the same though.

    • kameecoding@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      27 days ago

      Kotlin is much closer to Typescript than Java.

      But typescript is not real OO, it’s a meta language trying to make javascript useable, so basically typescript isn’t like anything.