NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
# Creation Creating a number is easy, it can be done just like for any other variable type using the `var` keyword. Numbers can be created from a constant value: ~~~ // This is a float: var a = 1.2; // This is an integer: var b = 10; ~~~ Or from the value of another variable: ~~~ var a = 2; var b = a; ~~~ Exercise Create a variable `x` which equals `10` and create a variable `y` which equals `a`. ~~~ var a = 11; ~~~