- Expert Angular
- Mathieu Nayrolles Rajesh Gunasundaram Sridhar Rao
- 62字
- 2021-07-15 17:05:30
String
The string data type can hold a sequence of characters. Declaring and initializing the string variable is very simple, as follows:
var authorName: string = "Rajesh Gunasundaram";
Here, we declared a variable named authorName as a string, and it is assigned the value Rajesh Gunasundaram. TypeScript supports surrounding the string value with either a double quotes (") or single quotes (').
推薦閱讀
- C++面向?qū)ο蟪绦蛟O(shè)計(jì)(第三版)
- Beginning Java Data Structures and Algorithms
- MongoDB for Java Developers
- Linux網(wǎng)絡(luò)程序設(shè)計(jì):基于龍芯平臺(tái)
- Spring Boot進(jìn)階:原理、實(shí)戰(zhàn)與面試題分析
- UML 基礎(chǔ)與 Rose 建模案例(第3版)
- ANSYS Fluent 二次開發(fā)指南
- Mastering C++ Multithreading
- Visual Basic程序設(shè)計(jì)習(xí)題與上機(jī)實(shí)踐
- Orleans:構(gòu)建高性能分布式Actor服務(wù)
- Spring 5 Design Patterns
- CodeIgniter Web Application Blueprints
- Visual C++程序設(shè)計(jì)全程指南
- 陪孩子像搭積木一樣學(xué)編程:Python真好玩+Scratch趣味編程(全2冊(cè))
- vSphere High Performance Cookbook(Second Edition)