node/test/message/console_assert.js
Jacob Hummer 60e836427e
console: treat non-strings as separate argument in console.assert()
fixes #49680

PR-URL: https://github.com/nodejs/node/pull/49722
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2023-11-01 17:54:05 +00:00

6 lines
78 B
JavaScript

'use strict';
require('../common');
console.assert(false, Symbol('hello'));