node/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();