常量

const v=5;

不能再给v赋值。

v就代表了5,使用v就相当于在使用5。

原文地址:https://www.cnblogs.com/flyover/p/14101612.html