提交 2c75a4be 编写于 作者: 杜庆泉's avatar 杜庆泉

Update string.md

上级 518d8572
......@@ -179,6 +179,24 @@ console.log(`The character code ${sentence.charCodeAt(index)} is equal to ${sent
<!-- UTSJSON.String.charCodeAt.compatibility -->
### fromCharCode(...codes : number[]):string
<!-- UTSJSON.String.fromCharCode.description -->
<!-- UTSJSON.String.fromCharCode.param -->
<!-- UTSJSON.String.fromCharCode.returnValue -->
```ts
console.log(String.fromCharCode(189, 43, 190, 61));
// expected output: "½+¾="
console.log(String.fromCharCode(189, 165999, 190, 61));
// expected output: "½衯¾="
```
<!-- UTSJSON.String.fromCharCode.compatibility -->
### concat(strings)
<!-- UTSJSON.String.concat.description -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册