To check if a variable is a string in JavaScript, you can use the "typeof" ... typeof variable === 'string' || variable instanceof String; }.
確定! 回上一頁