hash fetch

hash[key] 当key值不存在时,返回nil

hash.fetch(key) 当key值不存在时,抛出异常。

原文地址:https://www.cnblogs.com/qinyan20/p/3658488.html