diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/tests/non262/pipeline/shell.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/tests/non262/pipeline/shell.js b/js/src/tests/non262/pipeline/shell.js new file mode 100644 index 0000000000..1ee63dd18c --- /dev/null +++ b/js/src/tests/non262/pipeline/shell.js @@ -0,0 +1,9 @@ +function hasPipeline() { + try { + Function('a |> a'); + } catch (e) { + return false; + } + + return true; +} |