- Sort Score
- Num 10 results
- Language All
- Labels All
Results 1 - 10 of 235 for test (0.05 seconds)
-
RegExp.prototype.test() - JavaScript | MDN
test(str)); // Expected output: false Syntax js test(str)...Examples ?> Using test() This example tests if "hello" is contained...developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/testMon May 04 01:26:19 GMT 2026 17.9K 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 May 07 01:31:27 GMT 2026 17.6K 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 May 07 01:31:33 GMT 2026 23.9K 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/stickyMon May 04 01:26:19 GMT 2026 18.2K 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_escapeThu May 07 01:31:33 GMT 2026 23.6K bytes -
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/isNaNTue May 05 01:22:04 GMT 2026 23.5K 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/labelSun May 03 01:29:49 GMT 2026 24.2K bytes -
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/filterMon May 04 01:26:22 GMT 2026 17.4K 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/AssertionsMon May 04 01:26:14 GMT 2026 24.4K 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 May 08 01:28:35 GMT 2026 24.9K bytes