DEV Community

Cover image for Create React js
tainguyen1501
tainguyen1501

Posted on

Create React js

Types

const turorialFunction = (name) => {
  console.log(`Hello ${name}`)
}
Enter fullscreen mode Exit fullscreen mode

One of the main features of TypeScript is its ability to type-check your code. This means that you can specify the types of variables, function parameters, and return values, and the TypeScript compiler will check that your code adheres to these types. For example, you can specify that a function expects a string as an argument and returns a number like this:
we can creat react js
function test(x){
return x++
}

the end

const turorialFunction = (name) => {ddddddddddddddddddddddddddddddddddddddddddddddddddddddd
  console.log(`Hello ${name}`)
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)