開発ツールだと
print === window.print
// false

開発ツール外で実行すれば
const scr = document.createElement("script")
scr.innerHTML = "console.log(print === window.print)"
document.head.append(scr)
// true

window.print は印刷画面の表示
Firefox の開発ツールのコンソールで参照できる print はコンソールに出力する処理
toString してから console.log する

print({a: 1})
// "[object Object]"

オブジェクトの表示できないから基本 console.log でいい