2024-07-18 17:30:09 +02:00

13 lines
383 B
JavaScript

// Copyright (C) 2024 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regexp.escape
description: RegExp.escape is a function
info: |
RegExp.escape is a built-in function of the RegExp object.
features: [RegExp.escape]
---*/
assert.sameValue(typeof RegExp.escape, 'function', 'RegExp.escape is a function');