(element, expression, value)
| 2893 | } |
| 2894 | } |
| 2895 | beepValueToConsole(element, expression, value) { |
| 2896 | if (this.triggerEvent(element, "hyperscript:beep", { element, expression, value })) { |
| 2897 | var typeName = !value ? "object (null)" : value instanceof ElementCollection ? "ElementCollection" : value.constructor?.name || "unknown"; |
| 2898 | var logValue = typeName === "String" ? '"' + value + '"' : value instanceof ElementCollection ? Array.from(value) : value; |
| 2899 | console.log("///_ BEEP! The expression (" + expression.sourceFor().replace("beep! ", "") + ") evaluates to:", logValue, "of type " + typeName); |
| 2900 | } |
| 2901 | } |
| 2902 | }; |
| 2903 | |
| 2904 | // src/core/runtime/reactivity.js |
no test coverage detected