mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
458677f5ef
When --enable-source-maps is set, the error context displayed above the stack trace now shows original source rather than transpiled. PR-URL: https://github.com/nodejs/node/pull/33491 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
13 lines
209 B
JavaScript
13 lines
209 B
JavaScript
const React = {
|
|
createElement: () => {
|
|
("あ 🐕 🐕", throw Error("an error"));
|
|
}
|
|
};
|
|
|
|
const profile = (
|
|
<div>
|
|
<img src="avatar.png" className="profile" />
|
|
<h3>{["hello"]}</h3>
|
|
</div>
|
|
);
|