- Sort Score
- Result 10 results
- Languages All
- Labels All
Results 1 - 10 of 227 for test (0.21 sec)
-
RegExp.prototype.test() - JavaScript | MDN
test(str)); // Expected output: false Syntax js test(str)...match. Examples Using test() This example tests if "hello" is contained...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/testRegistered: Fri Oct 24 02:48:33 UTC 2025 - Last Modified: Fri Oct 24 01:08:10 UTC 2025 - 152.6K bytes - Viewed (0) -
Function.prototype.toString() - JavaScript | MDN
function* g() {} test(f); // "function f() {}" test(A); // "class...{ a() {} }" test(g); // "function* g() {}" test((a) => a); //...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/toStringRegistered: Fri Oct 24 00:55:02 UTC 2025 - Last Modified: Thu Oct 23 01:10:48 UTC 2025 - 151.2K bytes - Viewed (0) -
Assertions - JavaScript | MDN
by the word "test", but we do not include "test" in the match...regex = /First(?= test)/g; console.log("First test".match(regex));...developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions/AssertionsRegistered: Fri Oct 24 02:01:21 UTC 2025 - Last Modified: Fri Oct 24 01:07:58 UTC 2025 - 192.6K bytes - Viewed (0) -
contributors.txt
rence/global_objects/regexp/test/index.md # Original Wiki contributors...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test/contributors...Registered: Fri Oct 24 04:43:28 UTC 2025 - Last Modified: Tue Aug 19 16:04:30 UTC 2025 - 478 bytes - Viewed (0) -
Default parameters - JavaScript | MDN
function test(num = 1) { console.log(typeof num); } test(); // 'number'...to 1 too) // test with other falsy values: test(""); // 'string'...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parametersRegistered: Fri Oct 24 01:25:00 UTC 2025 - Last Modified: Fri Oct 24 01:08:00 UTC 2025 - 193.1K bytes - Viewed (0) -
Backreference: \1, \2 - JavaScript | MDN
test("ac"); // true /\1(a)/.test("a"); // true...match text with different casing from the original text. js /(b)\1/i.test("bB");...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/BackreferenceRegistered: Fri Oct 24 01:19:18 UTC 2025 - Last Modified: Fri Oct 24 01:08:18 UTC 2025 - 184.3K bytes - Viewed (0) -
RegExp.prototype.sticky - JavaScript | MDN
Because test() is a simple wrapper around exec() , test() would...regex.test(str); // true regex.lastIndex = 5; regex.test(str);...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/stickyRegistered: Fri Oct 24 02:49:45 UTC 2025 - Last Modified: Fri Oct 24 01:08:10 UTC 2025 - 154.4K bytes - Viewed (0) -
Labeled statement - JavaScript | MDN
items) { for (const test of tests) { if (!test.pass(item)) { continue...true; for (const test of tests) { if (!test.pass(item)) { passed...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/labelRegistered: Fri Oct 24 01:13:01 UTC 2025 - Last Modified: Fri Oct 24 01:08:19 UTC 2025 - 193K bytes - Viewed (0) -
Character escape: \n, \u{...} - JavaScript | MDN
test("\x10"); // true /[\c_]/.test("\x1f"); // true...true /[\c*]/.test("\\"); // true /\c/.test("\\c"); // true /\c0/.test("\\c0");...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Character_escapeRegistered: Fri Oct 24 01:18:54 UTC 2025 - Last Modified: Fri Oct 24 01:08:18 UTC 2025 - 186.3K bytes - Viewed (0) -
Iterator.prototype.every() - JavaScript | MDN
5em;-webkit-text-decoration:none;text-decoration:none;v...ing:.5em;-webkit-text-decoration:none;text-decoration:none;v...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator/everyRegistered: Fri Oct 24 02:11:41 UTC 2025 - Last Modified: Fri Oct 24 01:08:06 UTC 2025 - 145.6K bytes - Viewed (0)