Demo 在线地址:
https://sx00xs.github.io/test/19/index.html
---------------------------------------------------------------
ide: vscode
文件格式:.vue
解析:(待补)

<template>
  <div >
<pre>
&lt;script type="text/javascript"&gt;
    alert(typeof 12345);    <span>//输出number</span>
    alert(typeof "abc");    <span>//输出string</span>
    alert(typeof document);    <span>//输出object</span>
&lt;/script&gt;
</pre>
  </div>
</template>
<script>
export default {
  created(){
    alert(typeof 12345);
    alert(typeof 'abc');
    alert(typeof document);    
  }
}
</script>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-03
  • 2022-12-23
  • 2021-11-20
  • 2021-07-15
  • 2021-12-28
猜你喜欢
  • 2022-12-23
  • 2022-01-14
  • 2021-04-16
  • 2022-12-23
  • 2022-02-08
  • 2021-11-22
  • 2022-12-23
相关资源
相似解决方案