0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/message/v8_warning.js
Ruben Bridgewater f8763bb077
benchmark,doc,lib,test: capitalize comments
PR-URL: https://github.com/nodejs/node/pull/26483
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2019-03-10 00:44:40 +01:00

20 lines
230 B
JavaScript

'use strict';
require('../common');
function AsmModule() {
'use asm';
function add(a, b) {
a = a | 0;
b = b | 0;
// Should be `return (a + b) | 0;`
return a + b;
}
return { add: add };
}
AsmModule();