(element, expression, value)
| 2944 | } |
| 2945 | } |
| 2946 | beepValueToConsole(element, expression, value) { |
| 2947 | if (this.triggerEvent(element, "hyperscript:beep", { element, expression, value })) { |
| 2948 | var typeName = !value ? "object (null)" : value instanceof ElementCollection ? "ElementCollection" : value.constructor?.name || "unknown"; |
| 2949 | var logValue = typeName === "String" ? '"' + value + '"' : value instanceof ElementCollection ? Array.from(value) : value; |
| 2950 | console.log("///_ BEEP! The expression (" + expression.sourceFor().replace("beep! ", "") + ") evaluates to:", logValue, "of type " + typeName); |
| 2951 | } |
| 2952 | } |
| 2953 | }; |
| 2954 | |
| 2955 | // src/core/runtime/reactivity.js |
no test coverage detected