```
let b =10
var a =5
a =10
// b = 9 Cannot assign to value: 'b' is a 'let' constant
```
```
let b =10
var a =5
a =10
// b = 9 Cannot assign to value: 'b' is a 'let' constant
```
本文标题:swift
本文链接:https://www.haomeiwen.com/subject/esbcrftx.html
网友评论