function (options, param) {
        alert(typeof options);
        if (typeof options == "string") {
            alert("字符串");
        }
        if (typeof options == "number") {
            alert("数字");
        }
}

 

相关文章:

  • 2022-12-23
  • 2022-01-09
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-30
  • 2021-11-21
  • 2020-07-21
  • 2021-09-27
  • 2022-02-03
  • 2022-12-23
相关资源
相似解决方案