31 lines
480 B
JavaScript
31 lines
480 B
JavaScript
const_pragma: {
|
|
options = {
|
|
evaluate: true,
|
|
reduce_funcs: true,
|
|
reduce_vars: true,
|
|
}
|
|
|
|
input: {
|
|
/** @const */ var goog = goog || {};
|
|
}
|
|
expect: {
|
|
var goog = goog || {};
|
|
}
|
|
}
|
|
|
|
// for completeness' sake
|
|
not_const: {
|
|
options = {
|
|
evaluate: true,
|
|
reduce_funcs: true,
|
|
reduce_vars: true,
|
|
}
|
|
|
|
input: {
|
|
var goog = goog || {};
|
|
}
|
|
expect: {
|
|
var goog = goog || {};
|
|
}
|
|
}
|