你可能不需要在 JavaScript 使用 switch 语句!

NoSuchKey