Skip to content
Coder
Newbie
学编程
练习
项目
工具
资源
⌘K
ZH
首页
测验
TypeScript 基础测验
TypeScript 基础测验
基本类型、接口、类型注解和 TypeScript 基础知识。
beginner
Question 1 of 7
Question 1 of 7
typescript
哪种语法正确地将变量注解为字符串?
A
let name: string = "Alice"
B
let name as string = "Alice"
C
let string name = "Alice"
D
let name = "Alice" :: string
All quizzes
Next