Search Options

Display Count
Sort
Preferred Language
Label
Advanced Search

Results 1 - 10 of 227 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
    Fri Mar 06 01:19:00 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
    Thu Mar 05 01:11:21 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
    Fri Mar 06 01:18:54 GMT 2026
      23.9K bytes
  4. 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
    Thu Mar 05 01:11:19 GMT 2026
      24.5K bytes
  5. Backreference: \1, \2 - JavaScript | MDN

    test("ac"); // true /\1(a)/.test("a"); // true...match text with different casing from the original text. js /(b)\1/i.test("bB");...
    developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Backreference
    Thu Mar 05 01:11:27 GMT 2026
      22.9K bytes
  6. 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 Mar 05 01:11:27 GMT 2026
      23.6K bytes
  7. 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
    Fri Mar 06 01:19:00 GMT 2026
      17.7K bytes
  8. 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 Mar 05 01:11:27 GMT 2026
      23.4K bytes
  9. 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
    Thu Mar 05 01:11:22 GMT 2026
      23.3K bytes
  10. RegExp.prototype.multiline - JavaScript | MDN

    test("rugby\nfootball")); // Expected...output: false console.log(regex2.test("rugby\nfootball")); // Expected...
    developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/multiline
    Fri Mar 06 01:19:00 GMT 2026
      16.2K bytes
Back to Top