blob: 64e58c7fa134ad1f96309253b6f34cba5a95755b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
// SPDX-FileCopyrightText: 2021 Mantoh Nasah Kuma <nasahnash20@gmail.com>
function divide(a, b) {
if (b === 0)
return undefined;
else if (a === undefined || b === undefined)
return undefined;
else
return a / b;
}
divide();
|