Extract all the values from the object into an array, then use the includes() function to check. var theObj = { foo: "bar" };; var hasVal = ...
確定! 回上一頁