• 0 Posts
  • 11 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle
  • You can stop reading when you find the answers to the requested questions.

    Eh no not necessarily. This depends on the type of audit and the questions specifically, but should never be a default stance if you want to provide a full report. Moreover, if you are learning to do software audits, it would be beneficial to check everything because experience is key to know what you are looking for




  • Its important to understand that:

    • JavaScript is typescript
    • Typescript is JavaScript with types

    When you are writing typescript, you are writing JavaScript but have additional syntax to help support type safety and structure. If you are creating a function that does x, it should very much be the same in JS and TS, just in TS it has extra syntax

    TS doesn’t modify the way JS works, its one of the stated needs for the tooling.

    In TS, for example, I can denote an object as

    const x: Record = {}
    

    In JS it would be

    const x = {}
    

    It’s still nothing but an object. TS doesn’t change the functionality, it just adds typing and checks that you are using that object properly as static build step.