2.1.24 [ECMA-ES2017] Section 19.1.3.2 Object.prototype.hasOwnProperty ( V )

V0197: An error is thrown if the argument is a symbol

The specification states:

 19.1.3.2 Object.prototype.hasOwnProperty ( V )
  
     When the hasOwnProperty method is called with argument V, the following steps are 
     taken:
  
         1.  Let P be ? ToPropertyKey(V).
         2.  Let O ? be ToObject(this value).
         3.  Return ? HasOwnProperty(O, P).

EdgeHTML Mode

In step 1, ToString is invoked instead of ToPropertyKey. Because of this, an error is thrown if V is a symbol.