mirror of
https://github.com/nodejs/node.git
synced 2025-05-13 00:05:45 +00:00

PR-URL: https://github.com/nodejs/node/pull/20190 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
9 lines
143 B
JavaScript
9 lines
143 B
JavaScript
'use strict'
|
|
|
|
var scan = require('./scan')
|
|
var parse = require('./parse')
|
|
|
|
module.exports = function (source) {
|
|
return parse(scan(source))
|
|
}
|