refactor: Renamed js to nodejs
- feat: Added util module
This commit is contained in:
@@ -17,12 +17,7 @@
|
||||
* Assume we are dealing with an environment which could only store integers within the 32-bit signed integer range: [−231, 231 − 1]. If the numerical value is out of the range of representable values, INT_MAX (231 − 1) or INT_MIN (−231) is returned.
|
||||
|
||||
*/
|
||||
const assert = function(condition, message) {
|
||||
if(!condition) {
|
||||
console.error(` ${message}`);
|
||||
}
|
||||
console.log(` ${message}`);
|
||||
}
|
||||
const { assert } = require('../../util/js');
|
||||
|
||||
/**
|
||||
* @param {string} str
|
Reference in New Issue
Block a user