- Sort Score
- Num 10 results
- Language All
- Labels All
Results 1 - 10 of 227 for test (0.07 seconds)
-
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/testFri Feb 06 01:07:02 GMT 2026 154.1K bytes -
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/toStringThu Feb 05 01:10:37 GMT 2026 152.7K bytes -
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/AssertionsFri Feb 06 01:06:55 GMT 2026 193.9K bytes -
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...Tue Aug 19 16:04:30 GMT 2025 478 bytes -
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_parametersFri Feb 06 01:06:56 GMT 2026 194.5K bytes -
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/stickyFri Feb 06 01:07:01 GMT 2026 155.9K bytes -
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/labelThu Feb 05 01:10:49 GMT 2026 194.3K bytes -
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_escapeFri Feb 06 01:07:06 GMT 2026 188.1K bytes -
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/voidThu Feb 05 01:10:48 GMT 2026 190.1K bytes -
Object.prototype.__proto__ - JavaScript | MDN
const test = new Test(); console.log(test.__proto__ === Test.prototype);...shapeC.__proto__); // false js function Test() {} Test.prototype.myName = function...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/protoFri Feb 06 01:07:00 GMT 2026 154.2K bytes