- Sort Score
- Result 10 results
- Languages All
- Labels All
Results 1 - 10 of 249 for test (0.1 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: Mon May 19 01:25:53 UTC 2025 - Last Modified: Sat May 17 00:49:47 UTC 2025 - 82.2K 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: Mon May 19 01:13:56 UTC 2025 - Last Modified: Sat May 17 00:49:42 UTC 2025 - 79K 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: Mon May 19 01:24:39 UTC 2025 - Last Modified: Sat May 17 00:49:47 UTC 2025 - 87.7K bytes - Viewed (0) -
void operator - JavaScript | MDN
executed" void function test() { console.log("test function executed");...executed"); }; try { test(); } catch (e) { console.log("test function is...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/voidRegistered: Mon May 19 00:53:15 UTC 2025 - Last Modified: Sat May 17 00:49:56 UTC 2025 - 155.4K 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: Mon May 19 00:59:50 UTC 2025 - Last Modified: Sat May 17 00:49:56 UTC 2025 - 153.9K bytes - Viewed (0) -
isNaN() - JavaScript | MDN
Parameters value The value to be tested. Return value true if the given...For number values, isNaN() tests if the number is the value NaN...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isNaNRegistered: Mon May 19 00:46:40 UTC 2025 - Last Modified: Sat May 17 00:49:44 UTC 2025 - 153.2K bytes - Viewed (0) -
TypedArray.prototype.filter() - JavaScript | MDN
that pass the test. If no elements pass the test, an empty typed...given typed array that pass the test implemented by the provided...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/filterRegistered: Mon May 19 02:11:25 UTC 2025 - Last Modified: Sat May 17 00:49:53 UTC 2025 - 82.2K 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: Mon May 19 00:46:49 UTC 2025 - Last Modified: Sat May 17 00:49:57 UTC 2025 - 161.8K bytes - Viewed (0) -
RegExp.input ($_) - JavaScript | MDN
test("foo"); // new test, non-matching RegExp.$_;..."hi there!" re.test("hi world!"); // new test, matching RegExp.$_;...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/inputRegistered: Mon May 19 02:09:33 UTC 2025 - Last Modified: Sat May 17 00:49:47 UTC 2025 - 70.6K 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: Mon May 19 01:26:03 UTC 2025 - Last Modified: Sat May 17 00:49:35 UTC 2025 - 169.4K bytes - Viewed (0)