Only look up Symbol methods on Objects in String prototype methods (opens in new tab)
Summary: Latest JS spec changed String.prototype methods to only look up well-known Symbol methods when the argument is an Object. Previously the guard was "neither undefined nor null", w...
Read the original article