JavaScript Tutorial/MS JScript/x86

Материал из Web эксперт
Перейти к: навигация, поиск

@_x86

The @_x86 variable determines if a Intel processor is being used. When the variable is not true, it is defined as NaN.



<html>
    <script language="JScript">
    <!--
    @if (@_x86)
      alert("You are using an Intel processor.");
    @else
      alert("You are NOT using an Intel processor.");
    @end
    -->
    </script>
</html>