blob: 691f11af3dab1b3f93f7027b78eab3562e05fe75 [file] [log] [blame]
export {};
// string.trim() result is unused
let stringUnused;
stringUnused = 'hello';
stringUnused.trim();
const stringLiteralUnused = 'hello';
stringLiteralUnused.trim();
// Array.concat() result is unused.
const arrayOfStringsUnused = ['hello'];
arrayOfStringsUnused.concat(arrayOfStringsUnused);
// Object.create() result is unused
const objectUnused = {};
Object.create(objectUnused);
// string.replace() with a substring
stringUnused.replace('o', 'O');