Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
384 B
16 lines
384 B
2 years ago
|
'use strict';
|
||
|
|
||
|
function nullthrows(x, message) {
|
||
|
if (x != null) {
|
||
|
return x;
|
||
|
}
|
||
|
var error = new Error(message !== undefined ? message : 'Got unexpected ' + x);
|
||
|
error.framesToPop = 1; // Skip nullthrows's own stack frame.
|
||
|
throw error;
|
||
|
}
|
||
|
|
||
|
module.exports = nullthrows;
|
||
|
module.exports.default = nullthrows;
|
||
|
|
||
|
Object.defineProperty(module.exports, '__esModule', {value: true});
|