JScript expression

xiaoxiao2021-03-06  14

3.9 // Numeric Literal "Hello!" // String Litralfalse // Boolean Literalnull // Litral Null Value [1,2,3] // array literalvar o = {x: 1, Y: 2} // Object Literalvar f = Function (x) {returnx x * x;} // function literal___________________________________

4 5 // AdditonX = 1 // addition assignment10 / 2 // Divisiona & B // bitwise and__________________________________________________________________________________________

Radius = 10; ANEXPRESSION = 3 * (4/5) 6; ASECONDEXPIUS = Math.pi * Radius * Radius; AthirdExpression = "Area is" asecondExpression "; myarray = new array (" Hello ", Math. PI, 42); mypi = myarray [1]; ______________________________________

转载请注明原文地址:https://www.9cbs.com/read-47233.html

New Post(0)