library-boilerplate/dist/sample2.js

13 lines
302 B
JavaScript
Raw Normal View History

2020-08-28 16:05:36 +07:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var sqrt = function (n) {
if (typeof n === "undefined" || n === null) {
return undefined;
}
if (typeof n !== "number") {
return undefined;
}
return Math.sqrt(n);
};
exports.default = sqrt;