官术网_书友最值得收藏!

Creating a variable with a string

First, delete what you have entered in Playgrounds already, and let's declare our first variable, named fullName, and set it to your name:

var fullName = "Craig Clayton"

The preceding code says that we have a variable named fullName and that it is holding a string value of Craig Clayton. Your Results Panel shows your actual name as its data:

主站蜘蛛池模板: 区。| 延长县| 靖西县| 库尔勒市| 兰坪| 方城县| 霍林郭勒市| 吴桥县| 汶川县| 鄂托克旗| 五指山市| 门源| 沂源县| 陆川县| 定结县| 德州市| 会宁县| 梅河口市| 富民县| 横山县| 宁晋县| 札达县| 兴山县| 珠海市| 库车县| 大荔县| 横山县| 定西市| 怀化市| 安远县| 达拉特旗| 保定市| 六枝特区| 霍邱县| 忻州市| 和静县| 诸暨市| 会泽县| 当涂县| 嘉义市| 岳阳市|