UglifyJS/test/compress/issue-1041.js

31 lines
480 B
JavaScript
Raw Permalink Normal View History

const_pragma: {
options = {
evaluate: true,
reduce_funcs: true,
reduce_vars: true,
2018-07-01 06:34:42 +00:00
}
input: {
/** @const */ var goog = goog || {};
}
expect: {
var goog = goog || {};
}
}
// for completeness' sake
not_const: {
options = {
evaluate: true,
reduce_funcs: true,
reduce_vars: true,
2018-07-01 06:34:42 +00:00
}
input: {
var goog = goog || {};
}
expect: {
var goog = goog || {};
}
}