pdf.js/external/builder/fixtures_esprima/comments.js
Tim van der Meij c454868be1
Fix duplicated function name in the Esprima fixtures
This makes `gulp externaltest` work again. It looks like this wasn't
validated before, but is now after recent package updates.
2018-08-25 16:23:20 +02:00

27 lines
266 B
JavaScript

/* globals f0 */
function f1() {
/* head */
"1";
/* mid */
"2";
/* tail */
}
function f2() {
// head
"1";
// mid
"2";
// tail
}
function f3() {
if ("1") { // begin block
"1";
}
"2"; // trailing
if (/* s */"3"/*e*/) {
"4";
}
}