Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/source_map/mod.js>SourceNode#add

Port of mozilla / source-map to deno.
Latest
method SourceNode.prototype.add
import { SourceNode } from "https://deno.land/x/source_map@0.8.0-beta.1/mod.js";

Add a chunk of generated JS to this source node.

Parameters

aChunk

A string snippet of generated JS code, another instance of SourceNode, or an array where each member is one of those things.