forked from Fediversity/Fediversity
15 lines
224 B
JavaScript
Executable file
15 lines
224 B
JavaScript
Executable file
'use strict';
|
|
|
|
const internals = {};
|
|
|
|
|
|
module.exports = function (...args) {
|
|
|
|
try {
|
|
return JSON.stringify(...args);
|
|
}
|
|
catch (err) {
|
|
return '[Cannot display object: ' + err.message + ']';
|
|
}
|
|
};
|