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

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:

主站蜘蛛池模板: 垫江县| 龙里县| 井研县| 吐鲁番市| 兴安盟| 达尔| 尼玛县| 郧西县| 淮南市| 台南县| 丘北县| 乐山市| 黄山市| 岑溪市| 缙云县| 冕宁县| 凌海市| 新兴县| 天台县| 上林县| 卓尼县| 长岭县| 南澳县| 张家川| 江山市| 德庆县| 汉源县| 杂多县| 东源县| 绥宁县| 贵港市| 玉溪市| 富蕴县| 滦平县| 敖汉旗| 黑河市| 乐平市| 阳谷县| 建瓯市| 卢氏县| 于都县|