mteb/BrightProStackoverflowRetrieval huggingface dataset:
* [ Python Tutorial ](https://www.tutorialspoint.com/python/index.htm "Python")
* [ Java Tutorial ](https://www.tutorialspoint.com/java/index.htm "Java")
* [ C++ Tutorial ](https://www.tutorialspoint.com/cplusplus/index.htm "C++")
* [ C Programming Tutorial ](https://www.tutorialspoint.com/cprogramming/index.htm "C Programming")
* [ C# Tutorial ](https://www.tutorialspoint.com/csharp/index.htm "C#")
* [ PHP Tutorial ](https://www.tutorialspoint.com/php/index.htm "PHP")
* [ R Tutorial ](https://www.tutorialspoint.com/r/index.htm "R Tutorial")
* [ Go Tutorial ](https://www.tutorialspoint.com/go/index.htm "Go Tutorial")
[ derived classes and modes of inheritance ](/w/cpp/language/derived_class
"cpp/language/derived class")
---
[ ` override ` specifier ](/w/cpp/language/override "cpp/language/override")
(C++11)  |  explicitly declares that a method overrides another method  [
[edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/language/dsc_override&action=edit)
[ ` final ` specifier ](/w/cpp/language/final "cpp/language/final") (C++11)  |
declares that a method cannot be overridden  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/language/dsc_final&action=edit)
* C++ Basics
* [ C++ Home ](/cplusplus/index.htm)
* [ C++ Overview ](/cplusplus/cpp_overview.htm)
* [ C++ Environment Setup ](/cplusplus/cpp_environment_setup.htm)
* [ C++ Basic Syntax ](/cplusplus/cpp_basic_syntax.htm)
* [ C++ Comments ](/cplusplus/cpp_comments.htm)
* [ C++ Data Types ](/cplusplus/cpp_data_types.htm)
* [ C++ Variable Types ](/cplusplus/cpp_variable_types.htm)
* [ C++ Variable Scope ](/cplusplus/cpp_variable_scope.htm)
* [ C++ Constants/Literals ](/cplusplus/cpp_constants_literals.htm)
* [ C++ Modifier Types ](/cplusplus/cpp_modifier_types.htm)
* [ C++ Storage Classes ](/cplusplus/cpp_storage_classes.htm)
* [ C++ Operators ](/cplusplus/cpp_operators.htm)
* [ C++ Loop Types ](/cplusplus/cpp_loop_types.htm)
* [ C++ Decision Making ](/cplusplus/cpp_decision_making.htm)
* [ C++ Functions ](/cplusplus/cpp_functions.htm)
* [ C++ Numbers ](/cplusplus/cpp_numbers.htm)
* [ C++ Arrays ](/cplusplus/cpp_arrays.htm)
* [ C++ Strings ](/cplusplus/cpp_strings.htm)
* [ C++ Pointers ](/cplusplus/cpp_pointers.htm)
* [ C++ References ](/cplusplus/cpp_references.htm)
* [ C++ Date & Time ](/cplusplus/cpp_date_time.htm)
* [ C++ Basic Input/Output ](/cplusplus/cpp_basic_input_output.htm)
* [ C++ Data Structures ](/cplusplus/cpp_data_structures.htm)
* [ Terms of use ](/about/about_terms_of_use.htm "Terms of Use")
* [ Privacy Policy ](/about/about_privacy.htm "Privacy Policy")
* [ Refund Policy ](/about/return_refund_policy.htm "Refund Policy")
* [ Cookies Policy ](/about/about_cookies.htm "Cookies Policy")
* [ FAQ's ](/about/faq.htm "FAQ's")
* [ ](https://www.facebook.com/tutorialspointindia "Follow on Facebook")
* [ ](https://www.instagram.com/tutorialspoint_/ "Follow on Instagram")
* [ ](https://twitter.com/tutorialspoint "Follow on Twitter")
* [ ](https://www.youtube.com/channel/UCVLbzhxVTiTLiVKeGV7WEBg "Subscribe to our Youtube Channel")
* [ ](https://www.linkedin.com/company/tutorialspoint/ "Follow on LinkedIn")
* [ Software Testing  ](/software_testing/index.htm "Software Testing")
* [ Jira  ](/jira/index.htm "Jira")
* [ Selenium  ](/selenium/index.htm "Selenium")
* [ TestRail  ](/testrail/index.htm)
* [ Postman  ](/postman/index.htm "Postman")
* [ Cucumber  ](/cucumber/index.htm)
* [ Cypress  ](/cypress/index.htm)
* [ Watir  ](/watir/index.htm)
* [ Agile  ](/agile/index.htm "Agile")
* [ jMeter  ](/jmeter/index.htm "jMeter")
* [ Online SQL Editor ](https://www.tutorialspoint.com/online_sql_editor.htm "Online SQL Editor")
* [ Online Html Editor ](https://www.tutorialspoint.com/online_html_editor.php "Online Html Editor")
* [ Online Css Editor ](https://www.tutorialspoint.com/online_css_editor.php "Online Css Editor")
* [ Online Javascript Editor ](https://www.tutorialspoint.com/online_javascript_editor.php "Online Javascript Editor")
* [ Online Latext Editor ](https://www.tutorialspoint.com/online_latex_editor.php "Online Latext Editor")
* [ Online TEX Editor ](https://www.tutorialspoint.com/online_tex_editor.php "Online TEX Editor")
* [ Online Mathml Compiler ](https://www.tutorialspoint.com/online_mathml_editor.php "Online Mathml Compiler")
* [ Online Markdown Editor ](https://www.tutorialspoint.com/online_markdown_editor.php "Online Markdown Editor")
* [ Online Unix Terminal ](https://www.tutorialspoint.com/linux_terminal_online.php "Online Unix Terminal")
* [ Online Python3 Terminal ](https://www.tutorialspoint.com/python_terminal_online.php "Online Python3 Terminal")
* [ Online Php Terminal ](https://www.tutorialspoint.com/php_terminal_online.php "Online Php Terminal")
* [ Online Nodejs Terminal ](https://www.tutorialspoint.com/nodejs_terminal_online.php "Online Nodejs Terminal")
* [ Online R Terminal ](https://www.tutorialspoint.com/r_terminal_online.php "Online R Terminal")
* [ Online Numpy Terminal ](https://www.tutorialspoint.com/numpy_terminal_online.php "Online Numpy Terminal")
* [ Online Octave Terminal ](https://www.tutorialspoint.com/octave_terminal_online.php "Online Octave Terminal")
* [ Artificial Intelligence  ](/artificial_intelligence/index.htm)
* [ Machine Learning  ](/machine_learning/index.htm)
* [ ML With Python  ](/machine_learning_with_python/index.htm)
* [ Data Science  ](/data_science/index.htm)
* [ Statistics  ](/statistics/index.htm)
* [ NLP  ](/natural_language_processing/index.htm)
* [ Neural Networks  ](/artificial_neural_network/index.htm)
* [ TensorFlow  ](/tensorflow/index.htm)
* [ PyTorch  ](/pytorch/index.htm)
* [ Matplotlib  ](/matplotlib/index.htm)
* [ NumPy  ](/numpy/index.htm)
* [ Pandas  ](/python_pandas/index.htm)
* [ SciPy  ](/scipy/index.htm)
* [ Big Data Analytics  ](/big_data_analytics/index.htm)
* [ See all ](/machine_learning_tutorials.htm)
* [ DBMS  ](/dbms/index.htm)
* [ SQL  ](/sql/index.htm)
* [ PL/SQL  ](/plsql/index.htm)
* [ MySQL  ](/mysql/index.htm)
* [ TinyDB  ](/tinydb/index.htm)
* [ SQL Server  ](/ms_sql_server/index.htm)
* [ MongoDB  ](/mongodb/index.htm)
* [ Postgrey SQL  ](/postgresql/index.htm)
* [ SQLite  ](/sqlite/index.htm)
* [ Redis  ](/redis/index.htm)
* [ PHP MyAdmin  ](/phpmyadmin/index.htm)
* [ MariaDB  ](/mariadb/index.htm)
* [ CouchDB  ](/couchdb/index.htm)
* [ DB2  ](/db2/index.htm)
* [ See all __ ](/database_tutorials.htm)
/global_objects/string/endswith \(Opens
in a new tab\)") â¢  [ Report a problem with this content
](https://github.com/mdn/content/issues/new?template=page-report.yml&mdn-
url=https%3A%2F%2Fdeveloper.mozilla.org%2Fen-
US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FString%2FendsWith&metadata=%3C%21--+Do+not+make+changes+below+this+line+--%3E%0A%3Cdetails%3E%0A%3Csummary%3EPage+report+details%3C%2Fsummary%3E%0A%0A*+Folder%3A+%60en-
us%2Fweb%2Fjavascript%2Freference%2Fglobal_objects%2Fstring%2Fendswith%60%0A*+MDN+URL%3A+https%3A%2F%2Fdeveloper.mozilla.org%2Fen-
US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FString%2FendsWith%0A*+GitHub+URL%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fblob%2Fmain%2Ffiles%2Fen-
us%2Fweb%2Fjavascript%2Freference%2Fglobal_objects%2Fstring%2Fendswith%2Findex.md%0A*+Last+commit%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fcommit%2Fb7ca46c94631967ecd9ce0fe36579be334a01275%0A*+Document+last+modified%3A+2023-08-09T10%3A44%3A34.000Z%0A%0A%3C%2Fdetails%3E
"This will take you to GitHub to file a new issue.")

[ MDN logo  ](/)

Your blueprint for a better internet.

  * [ MDN on Mastodon  ](https://mozilla.social/@mdn)
  * [ MDN on X (formerly Twitter)  ](https://twitter.com/mozdevnet)
  * [ MDN on GitHub  ](https://github.com/mdn/)
  * [ MDN Blog RSS Feed  ](/en-US/blog/rss.xml)

##  MDN

  * [ About ](/en-US/about)
  * [ Blog ](/en-US/blog/)
  * [ Careers ](https://www.mozilla.org/en-US/careers/listings/?team=ProdOps)
  * [ Advertise with us ](/en-US/advertising)

##  Support

  * [ Product help ](https://support.mozilla.org/products/mdn-plus)
  * [ Report an issue ](/en-US/docs/MDN/Community/Issues)

##  Our communities

  * [ MDN Community ](/en-US/community)
  * [ MDN Forum ](https://discourse.mozilla.org/c/mdn/236)
  * [ MDN Chat ](/discord)

##  Developers

  * [ Web Technologies ](/en-US/docs/Web)
  * [ Learn Web Development ](/en-US/docs/Learn)
  * [ MDN Plus ](/en-US/plus)
  * [ Hacks Blog ](https://hacks.mozilla.org/)

[ Mozilla logo  ](https://www.mozilla.org/)

  * [ Website Privacy Notice ](https://www.mozilla.org/privacy/websites/)
  * [ Cookies ](https://www.mozilla.org/privacy/websites/#cookies)
  * [ Legal ](https://www.mozilla.org/about/legal/terms/mozilla)
  * [ Community Participation Guidelines ](https://www.mozilla.org/about/governance/policies/participation/)

Visit  [ Mozilla Corporationâs ](https://www.mozilla.org) not-for-profit
parent, the  [ Mozilla Foundation ](https://foundation.mozilla.org/) .  
Portions of this content are Â©1998â  2024  by individual mozilla.org
contributors. Content available under  [ a Creative Commons license ](/en-
US/docs/MDN/Writing_guidelines/Attrib_copyright_license) .

  *[
                
                 Deprecated
                
               ]: Deprecated. Not for use in new websites.
  *[
                
                 Non-standard
                
               ]: Non-standard. Check cross-browser support before using.
¢  [ Report a problem with this content
](https://github.com/mdn/content/issues/new?template=page-report.yml&mdn-
url=https%3A%2F%2Fdeveloper.mozilla.org%2Fen-
US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FString%2Ffixed&metadata=%3C%21--+Do+not+make+changes+below+this+line+--%3E%0A%3Cdetails%3E%0A%3Csummary%3EPage+report+details%3C%2Fsummary%3E%0A%0A*+Folder%3A+%60en-
us%2Fweb%2Fjavascript%2Freference%2Fglobal_objects%2Fstring%2Ffixed%60%0A*+MDN+URL%3A+https%3A%2F%2Fdeveloper.mozilla.org%2Fen-
US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FString%2Ffixed%0A*+GitHub+URL%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fblob%2Fmain%2Ffiles%2Fen-
us%2Fweb%2Fjavascript%2Freference%2Fglobal_objects%2Fstring%2Ffixed%2Findex.md%0A*+Last+commit%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fcommit%2F5a2cea779777daaff451f21ca3b7f4c28a68de9e%0A*+Document+last+modified%3A+2023-09-15T15%3A37%3A03.000Z%0A%0A%3C%2Fdetails%3E
"This will take you to GitHub to file a new issue.")

[ MDN logo  ](/)

Your blueprint for a better internet.

  * [ MDN on Mastodon  ](https://mozilla.social/@mdn)
  * [ MDN on X (formerly Twitter)  ](https://twitter.com/mozdevnet)
  * [ MDN on GitHub  ](https://github.com/mdn/)
  * [ MDN Blog RSS Feed  ](/en-US/blog/rss.xml)

##  MDN

  * [ About ](/en-US/about)
  * [ Blog ](/en-US/blog/)
  * [ Careers ](https://www.mozilla.org/en-US/careers/listings/?team=ProdOps)
  * [ Advertise with us ](/en-US/advertising)

##  Support

  * [ Product help ](https://support.mozilla.org/products/mdn-plus)
  * [ Report an issue ](/en-US/docs/MDN/Community/Issues)

##  Our communities

  * [ MDN Community ](/en-US/community)
  * [ MDN Forum ](https://discourse.mozilla.org/c/mdn/236)
  * [ MDN Chat ](/discord)

##  Developers

  * [ Web Technologies ](/en-US/docs/Web)
  * [ Learn Web Development ](/en-US/docs/Learn)
  * [ MDN Plus ](/en-US/plus)
  * [ Hacks Blog ](https://hacks.mozilla.org/)

[ Mozilla logo  ](https://www.mozilla.org/)

  * [ Website Privacy Notice ](https://www.mozilla.org/privacy/websites/)
  * [ Cookies ](https://www.mozilla.org/privacy/websites/#cookies)
  * [ Legal ](https://www.mozilla.org/about/legal/terms/mozilla)
  * [ Community Participation Guidelines ](https://www.mozilla.org/about/governance/policies/participation/)

Visit  [ Mozilla Corporationâs ](https://www.mozilla.org) not-for-profit
parent, the  [ Mozilla Foundation ](https://foundation.mozilla.org/) .  
Portions of this content are Â©1998â  2024  by individual mozilla.org
contributors. Content available under  [ a Creative Commons license ](/en-
US/docs/MDN/Writing_guidelines/Attrib_copyright_license) .

  *[
                
                 Deprecated
                
               ]: Deprecated. Not for use in new websites.
  *[
                 
                  Deprecated
                 
                ]: Deprecated. Not for use in new websites.
  *[
                
                 Non-standard
                
               ]: Non-standard. Check cross-browser support before using.
mmary%3E%0A%0A*+Folder%3A+%60en-
us%2Fweb%2Fjavascript%2Freference%2Fglobal_objects%2Fstring%2Fconcat%60%0A*+MDN+URL%3A+https%3A%2F%2Fdeveloper.mozilla.org%2Fen-
US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FString%2Fconcat%0A*+GitHub+URL%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fblob%2Fmain%2Ffiles%2Fen-
us%2Fweb%2Fjavascript%2Freference%2Fglobal_objects%2Fstring%2Fconcat%2Findex.md%0A*+Last+commit%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fcommit%2F88d71e500938fa8ca969fe4fe3c80a5abe23d767%0A*+Document+last+modified%3A+2023-09-01T00%3A27%3A24.000Z%0A%0A%3C%2Fdetails%3E
"This will take you to GitHub to file a new issue.")

[ MDN logo  ](/)

Your blueprint for a better internet.

  * [ MDN on Mastodon  ](https://mozilla.social/@mdn)
  * [ MDN on X (formerly Twitter)  ](https://twitter.com/mozdevnet)
  * [ MDN on GitHub  ](https://github.com/mdn/)
  * [ MDN Blog RSS Feed  ](/en-US/blog/rss.xml)

##  MDN

  * [ About ](/en-US/about)
  * [ Blog ](/en-US/blog/)
  * [ Careers ](https://www.mozilla.org/en-US/careers/listings/?team=ProdOps)
  * [ Advertise with us ](/en-US/advertising)

##  Support

  * [ Product help ](https://support.mozilla.org/products/mdn-plus)
  * [ Report an issue ](/en-US/docs/MDN/Community/Issues)

##  Our communities

  * [ MDN Community ](/en-US/community)
  * [ MDN Forum ](https://discourse.mozilla.org/c/mdn/236)
  * [ MDN Chat ](/discord)

##  Developers

  * [ Web Technologies ](/en-US/docs/Web)
  * [ Learn Web Development ](/en-US/docs/Learn)
  * [ MDN Plus ](/en-US/plus)
  * [ Hacks Blog ](https://hacks.mozilla.org/)

[ Mozilla logo  ](https://www.mozilla.org/)

  * [ Website Privacy Notice ](https://www.mozilla.org/privacy/websites/)
  * [ Cookies ](https://www.mozilla.org/privacy/websites/#cookies)
  * [ Legal ](https://www.mozilla.org/about/legal/terms/mozilla)
  * [ Community Participation Guidelines ](https://www.mozilla.org/about/governance/policies/participation/)

Visit  [ Mozilla Corporationâs ](https://www.mozilla.org) not-for-profit
parent, the  [ Mozilla Foundation ](https://foundation.mozilla.org/) .  
Portions of this content are Â©1998â  2024  by individual mozilla.org
contributors. Content available under  [ a Creative Commons license ](/en-
US/docs/MDN/Writing_guidelines/Attrib_copyright_license) .

  *[
                
                 Deprecated
                
               ]: Deprecated. Not for use in new websites.
  *[
                
                 Non-standard
                
               ]: Non-standard. Check cross-browser support before using.
6c94631967ecd9ce0fe36579be334a01275%0A*+Document+last+modified%3A+2023-08-09T10%3A44%3A34.000Z%0A%0A%3C%2Fdetails%3E
"This will take you to GitHub to file a new issue.")

[ MDN logo  ](/)

Your blueprint for a better internet.

  * [ MDN on Mastodon  ](https://mozilla.social/@mdn)
  * [ MDN on X (formerly Twitter)  ](https://twitter.com/mozdevnet)
  * [ MDN on GitHub  ](https://github.com/mdn/)
  * [ MDN Blog RSS Feed  ](/en-US/blog/rss.xml)

##  MDN

  * [ About ](/en-US/about)
  * [ Blog ](/en-US/blog/)
  * [ Careers ](https://www.mozilla.org/en-US/careers/listings/?team=ProdOps)
  * [ Advertise with us ](/en-US/advertising)

##  Support

  * [ Product help ](https://support.mozilla.org/products/mdn-plus)
  * [ Report an issue ](/en-US/docs/MDN/Community/Issues)

##  Our communities

  * [ MDN Community ](/en-US/community)
  * [ MDN Forum ](https://discourse.mozilla.org/c/mdn/236)
  * [ MDN Chat ](/discord)

##  Developers

  * [ Web Technologies ](/en-US/docs/Web)
  * [ Learn Web Development ](/en-US/docs/Learn)
  * [ MDN Plus ](/en-US/plus)
  * [ Hacks Blog ](https://hacks.mozilla.org/)

[ Mozilla logo  ](https://www.mozilla.org/)

  * [ Website Privacy Notice ](https://www.mozilla.org/privacy/websites/)
  * [ Cookies ](https://www.mozilla.org/privacy/websites/#cookies)
  * [ Legal ](https://www.mozilla.org/about/legal/terms/mozilla)
  * [ Community Participation Guidelines ](https://www.mozilla.org/about/governance/policies/participation/)

Visit  [ Mozilla Corporationâs ](https://www.mozilla.org) not-for-profit
parent, the  [ Mozilla Foundation ](https://foundation.mozilla.org/) .  
Portions of this content are Â©1998â  2024  by individual mozilla.org
contributors. Content available under  [ a Creative Commons license ](/en-
US/docs/MDN/Writing_guidelines/Attrib_copyright_license) .

  *[
                
                 Deprecated
                
               ]: Deprecated. Not for use in new websites.
  *[
                
                 Non-standard
                
               ]: Non-standard. Check cross-browser support before using.
eference%2FGlobal_Objects%2FString%2Fbold&metadata=%3C%21--+Do+not+make+changes+below+this+line+--%3E%0A%3Cdetails%3E%0A%3Csummary%3EPage+report+details%3C%2Fsummary%3E%0A%0A*+Folder%3A+%60en-
us%2Fweb%2Fjavascript%2Freference%2Fglobal_objects%2Fstring%2Fbold%60%0A*+MDN+URL%3A+https%3A%2F%2Fdeveloper.mozilla.org%2Fen-
US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FString%2Fbold%0A*+GitHub+URL%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fblob%2Fmain%2Ffiles%2Fen-
us%2Fweb%2Fjavascript%2Freference%2Fglobal_objects%2Fstring%2Fbold%2Findex.md%0A*+Last+commit%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fcommit%2F5a2cea779777daaff451f21ca3b7f4c28a68de9e%0A*+Document+last+modified%3A+2023-09-15T15%3A37%3A03.000Z%0A%0A%3C%2Fdetails%3E
"This will take you to GitHub to file a new issue.")

[ MDN logo  ](/)

Your blueprint for a better internet.

  * [ MDN on Mastodon  ](https://mozilla.social/@mdn)
  * [ MDN on X (formerly Twitter)  ](https://twitter.com/mozdevnet)
  * [ MDN on GitHub  ](https://github.com/mdn/)
  * [ MDN Blog RSS Feed  ](/en-US/blog/rss.xml)

##  MDN

  * [ About ](/en-US/about)
  * [ Blog ](/en-US/blog/)
  * [ Careers ](https://www.mozilla.org/en-US/careers/listings/?team=ProdOps)
  * [ Advertise with us ](/en-US/advertising)

##  Support

  * [ Product help ](https://support.mozilla.org/products/mdn-plus)
  * [ Report an issue ](/en-US/docs/MDN/Community/Issues)

##  Our communities

  * [ MDN Community ](/en-US/community)
  * [ MDN Forum ](https://discourse.mozilla.org/c/mdn/236)
  * [ MDN Chat ](/discord)

##  Developers

  * [ Web Technologies ](/en-US/docs/Web)
  * [ Learn Web Development ](/en-US/docs/Learn)
  * [ MDN Plus ](/en-US/plus)
  * [ Hacks Blog ](https://hacks.mozilla.org/)

[ Mozilla logo  ](https://www.mozilla.org/)

  * [ Website Privacy Notice ](https://www.mozilla.org/privacy/websites/)
  * [ Cookies ](https://www.mozilla.org/privacy/websites/#cookies)
  * [ Legal ](https://www.mozilla.org/about/legal/terms/mozilla)
  * [ Community Participation Guidelines ](https://www.mozilla.org/about/governance/policies/participation/)

Visit  [ Mozilla Corporationâs ](https://www.mozilla.org) not-for-profit
parent, the  [ Mozilla Foundation ](https://foundation.mozilla.org/) .  
Portions of this content are Â©1998â  2024  by individual mozilla.org
contributors. Content available under  [ a Creative Commons license ](/en-
US/docs/MDN/Writing_guidelines/Attrib_copyright_license) .

  *[
                
                 Deprecated
                
               ]: Deprecated. Not for use in new websites.
  *[
                 
                  Deprecated
                 
                ]: Deprecated. Not for use in new websites.
  *[
                
                 Non-standard
                
               ]: Non-standard. Check cross-browser support before using.
3A%2F%2Fdeveloper.mozilla.org%2Fen-
US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FString%2Fsmall&metadata=%3C%21--+Do+not+make+changes+below+this+line+--%3E%0A%3Cdetails%3E%0A%3Csummary%3EPage+report+details%3C%2Fsummary%3E%0A%0A*+Folder%3A+%60en-
us%2Fweb%2Fjavascript%2Freference%2Fglobal_objects%2Fstring%2Fsmall%60%0A*+MDN+URL%3A+https%3A%2F%2Fdeveloper.mozilla.org%2Fen-
US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FString%2Fsmall%0A*+GitHub+URL%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fblob%2Fmain%2Ffiles%2Fen-
us%2Fweb%2Fjavascript%2Freference%2Fglobal_objects%2Fstring%2Fsmall%2Findex.md%0A*+Last+commit%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fcommit%2F5a2cea779777daaff451f21ca3b7f4c28a68de9e%0A*+Document+last+modified%3A+2023-09-15T15%3A37%3A03.000Z%0A%0A%3C%2Fdetails%3E
"This will take you to GitHub to file a new issue.")

[ MDN logo  ](/)

Your blueprint for a better internet.

  * [ MDN on Mastodon  ](https://mozilla.social/@mdn)
  * [ MDN on X (formerly Twitter)  ](https://twitter.com/mozdevnet)
  * [ MDN on GitHub  ](https://github.com/mdn/)
  * [ MDN Blog RSS Feed  ](/en-US/blog/rss.xml)

##  MDN

  * [ About ](/en-US/about)
  * [ Blog ](/en-US/blog/)
  * [ Careers ](https://www.mozilla.org/en-US/careers/listings/?team=ProdOps)
  * [ Advertise with us ](/en-US/advertising)

##  Support

  * [ Product help ](https://support.mozilla.org/products/mdn-plus)
  * [ Report an issue ](/en-US/docs/MDN/Community/Issues)

##  Our communities

  * [ MDN Community ](/en-US/community)
  * [ MDN Forum ](https://discourse.mozilla.org/c/mdn/236)
  * [ MDN Chat ](/discord)

##  Developers

  * [ Web Technologies ](/en-US/docs/Web)
  * [ Learn Web Development ](/en-US/docs/Learn)
  * [ MDN Plus ](/en-US/plus)
  * [ Hacks Blog ](https://hacks.mozilla.org/)

[ Mozilla logo  ](https://www.mozilla.org/)

  * [ Website Privacy Notice ](https://www.mozilla.org/privacy/websites/)
  * [ Cookies ](https://www.mozilla.org/privacy/websites/#cookies)
  * [ Legal ](https://www.mozilla.org/about/legal/terms/mozilla)
  * [ Community Participation Guidelines ](https://www.mozilla.org/about/governance/policies/participation/)

Visit  [ Mozilla Corporationâs ](https://www.mozilla.org) not-for-profit
parent, the  [ Mozilla Foundation ](https://foundation.mozilla.org/) .  
Portions of this content are Â©1998â  2024  by individual mozilla.org
contributors. Content available under  [ a Creative Commons license ](/en-
US/docs/MDN/Writing_guidelines/Attrib_copyright_license) .

  *[
                
                 Deprecated
                
               ]: Deprecated. Not for use in new websites.
  *[
                 
                  Deprecated
                 
                ]: Deprecated. Not for use in new websites.
  *[
                
                 Non-standard
                
               ]: Non-standard. Check cross-browser support before using.