Search Options

Display Count
Sort
Preferred Language
Label
Advanced Search

Results 1 - 10 of 235 for test (0.05 seconds)

  1. 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/test
    Mon May 04 01:26:19 GMT 2026
      17.9K bytes
  2. 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/toString
    Thu May 07 01:31:27 GMT 2026
      17.6K bytes
  3. 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/void
    Thu May 07 01:31:33 GMT 2026
      23.9K bytes
  4. 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/sticky
    Mon May 04 01:26:19 GMT 2026
      18.2K bytes
  5. 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_escape
    Thu May 07 01:31:33 GMT 2026
      23.6K bytes
  6. 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/isNaN
    Tue May 05 01:22:04 GMT 2026
      23.5K bytes
  7. 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/label
    Sun May 03 01:29:49 GMT 2026
      24.2K bytes
  8. 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/filter
    Mon May 04 01:26:22 GMT 2026
      17.4K bytes
  9. 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/Assertions
    Mon May 04 01:26:14 GMT 2026
      24.4K bytes
  10. 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_parameters
    Fri May 08 01:28:35 GMT 2026
      24.9K bytes
Back to Top