mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Merge branch 'init-dish' of https://github.com/d98762625/CyberChef into d98762625-init-dish
This commit is contained in:
commit
08c5dbce09
1 changed files with 2 additions and 2 deletions
|
@ -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") &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue