mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Consistency modifications
This commit is contained in:
parent
d3377d56b4
commit
463b06f508
2 changed files with 3 additions and 2 deletions
|
@ -11,10 +11,10 @@ import Utils from "./Utils.js";
|
|||
* @param {byteArray|string|number} value - The value of the input data.
|
||||
* @param {number} type - The data type of value, see Dish enums.
|
||||
*/
|
||||
function Dish(value, type) {
|
||||
const Dish = function(value, type) {
|
||||
this.value = value || typeof value == "string" ? value : null;
|
||||
this.type = type || Dish.BYTE_ARRAY;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue