mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-12 06:03:04 -05:00
306 B
306 B
title, localeTitle
| title | localeTitle |
|---|---|
| Initializing Variables with the Assignment Operator | 使用赋值运算符初始化变量 |
使用赋值运算符初始化变量
初始化变量是为了给它一个初始值。你可以像这样声明和初始化一个变量:
var num = 5; // This is equal to 5