File: list.debugger.js

package info (click to toggle)
gjs 1.88.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,768 kB
  • sloc: cpp: 38,454; javascript: 32,041; ansic: 15,960; sh: 1,777; python: 792; xml: 137; makefile: 40
file content (11 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (6)
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();