Browse Source

Fixed JSDoc comment

n1474335 6 years ago
parent
commit
42b956e402
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/core/lib/Binary.mjs

+ 2 - 2
src/core/lib/Binary.mjs

@@ -19,10 +19,10 @@ import Utils from "../Utils";
  *
  *
  * @example
  * @example
  * // returns "00010000 00100000 00110000"
  * // returns "00010000 00100000 00110000"
- * toHex([10,20,30]);
+ * toBinary([10,20,30]);
  *
  *
  * // returns "00010000 00100000 00110000"
  * // returns "00010000 00100000 00110000"
- * toHex([10,20,30], ":");
+ * toBinary([10,20,30], ":");
  */
  */
 export function toBinary(data, delim="Space", padding=8) {
 export function toBinary(data, delim="Space", padding=8) {
     if (!data) return "";
     if (!data) return "";