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

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:

主站蜘蛛池模板: 通州市| 巫山县| 深泽县| 怀宁县| 霞浦县| 定西市| 青川县| 宜昌市| 武冈市| 新巴尔虎右旗| 凤台县| 西和县| 重庆市| 霞浦县| 镇坪县| 亳州市| 长丰县| 类乌齐县| 惠来县| 静海县| 铜山县| 高陵县| 南涧| 徐闻县| 新疆| 个旧市| 凉城县| 讷河市| 永泰县| 随州市| 洛阳市| 德阳市| 合水县| 东乌| 金山区| 高雄市| 静海县| 商南县| 安宁市| 乐业县| 乐昌市|