blob: 6faed9a553fd0d3623bac67521726ea67bc7b633 [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
function AsmModule() {
"use asm";
function f(d) {
d = d|0;
d=(d|0)==1;
if(d){
d = 10;
}
return d|0;
}
return {
f:f
}
}
var asmModule = AsmModule();
print(asmModule.f(2));
print(asmModule.f(2));