Search Options

Display Count
Sort
Preferred Language
Label
Advanced Search

Results 1 - 10 of 227 for test (0.09 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 Feb 23 01:12:21 GMT 2026
      17.4K 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
    Sun Feb 22 01:10:10 GMT 2026
      17.4K bytes
  3. 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 Feb 23 01:12:14 GMT 2026
      23.9K bytes
  4. 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
    Sun Feb 22 01:10:16 GMT 2026
      23.7K bytes
  5. 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 Feb 23 01:12:21 GMT 2026
      17.7K bytes
  6. 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
    Sun Feb 22 01:10:16 GMT 2026
      23.4K bytes
  7. 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
    Sun Feb 22 01:10:07 GMT 2026
      24.5K bytes
  8. 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
    Sun Feb 22 01:10:10 GMT 2026
      23.3K bytes
  9. ReferenceError: can't access lexical declar...

    js function test() { // Accessing the 'const'...using the 'const' keyword } test(); In this example, the imported...
    developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Cant_access_lexical_declaration_...
    Mon Feb 23 01:12:15 GMT 2026
      21.6K bytes
  10. SyntaxError: getter and setter for private name...

    Mismatched placement js class Test { static set #foo(_) {} get...either both static : js class Test { static set #foo(_) {} static...
    developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Either_be_both_static_or_non-static
    Mon Feb 23 01:12:15 GMT 2026
      20.8K bytes
Back to Top