chromium/chrome/test/data/extensions/api_test/service_worker/worker_based_background/syntax_error/service_worker_background.js

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

chrome.test.sendMessage('ready', () => {
  syntaxError();
});

var syntaxError = function() {
  // Intentional syntax error.
  console.lg('test');
};