mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
Merge branch 'd98762625-init-dish'
This commit is contained in:
@@ -21,8 +21,8 @@ class Dish {
|
|||||||
* @param {Dish} [dish=null] - A dish to clone
|
* @param {Dish} [dish=null] - A dish to clone
|
||||||
*/
|
*/
|
||||||
constructor(dish=null) {
|
constructor(dish=null) {
|
||||||
this.value = [];
|
this.value = new ArrayBuffer(0);
|
||||||
this.type = Dish.BYTE_ARRAY;
|
this.type = Dish.ARRAY_BUFFER;
|
||||||
|
|
||||||
if (dish &&
|
if (dish &&
|
||||||
dish.hasOwnProperty("value") &&
|
dish.hasOwnProperty("value") &&
|
||||||
|
|||||||
Reference in New Issue
Block a user