-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathdivbypow2.js
42 lines (40 loc) · 1.18 KB
/
divbypow2.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
// -forcenative -prejit
(function(){
var obj0 = 1;
var obj1 = new Object();
var func0 = function(p0,p1,p2){
var d = (obj1.a++ );
}
var ary = 1;
if((ary[(1)] * (obj1.c = -1073741824))) {
}
else {
obj0.length = (obj1.a ^= obj1.c);
var b = 1;
}
d = (obj1.a /= -2147483648);
obj1.c %=func0((-- b), 1);
WScript.Echo("obj1.a = " + (obj1.a|0));;
})();
// command line: -forcenative
(function(){
var obj0 = new Object();
var obj1 = new Object();
var func1 = function(){
obj0.length +=(((obj0.a = obj1.length) ? (b /= -2147483648) : 1) * (c = 1));
a +=(c *= obj0.length);
}
var a = 1;
var b = -1073741824;
obj0.length = -2147483648;
obj1.length = 1198215329.1;
if(((func1() === 1) > (1 | (obj0.a * c)))) {
}
else {
(f);
}
})();