{"json_modified": "2015-04-26T06:31:16.291987", "slug": "Web/JavaScript/Referencia/Sentencies/return", "tags": [], "locale": "ca", "title": "return", "translations": [{"title": "return", "url": "/pl/docs/Web/JavaScript/Referencje/Polecenia/return", "tags": ["JavaScript", "Wszystkie_kategorie"], "summary": "", "localization_tags": [], "locale": "pl", "last_edit": "2014-05-31T00:08:19", "review_tags": []}, {"title": "return", "url": "/ja/docs/Web/JavaScript/Reference/Statements/return", "tags": ["JavaScript"], "summary": "\u95a2\u6570\u306b\u3088\u308a\u8fd4\u3055\u308c\u308b\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-17T01:01:34", "review_tags": []}, {"title": "return", "url": "/en-US/docs/Web/JavaScript/Reference/Statements/return", "tags": ["Statement", "JavaScript"], "summary": "The return
statement ends function execution and specifies a value to be returned to the function caller.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-04-07T04:04:49", "review_tags": []}, {"title": "return", "url": "/fr/docs/Web/JavaScript/Reference/Instructions/return", "tags": ["R\u00e9ference", "R\u00e9f\u00e9rence", "Reference", "Statement", "JavaScript"], "summary": "L'instruction return
met fin \u00e0 l'ex\u00e9cution d'une fonction et d\u00e9finit une valeur \u00e0 renvoyer \u00e0 la fonction appelante.", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-07T04:23:16", "review_tags": []}, {"title": "return", "url": "/es/docs/Web/JavaScript/Referencia/Sentencias/return", "tags": ["Statement", "JavaScript"], "summary": "Especifica el valor devuelto por una funci\u00f3n.", "localization_tags": [], "locale": "es", "last_edit": "2014-11-19T12:00:07", "review_tags": []}, {"title": "return", "url": "/zh-CN/docs/Web/JavaScript/Reference/Statements/return", "tags": ["\u8fd4\u56de\u503c"], "summary": "return
\u8bed\u53e5\u7ec8\u6b62\u51fd\u6570\u7684\u6267\u884c\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u6307\u5b9a\u7684\u503c\u7ed9\u51fd\u6570\u8c03\u7528\u8005\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-01-19T06:34:06", "review_tags": []}], "modified": "2015-04-26T06:31:14", "label": "return", "localization_tags": [], "url": "/ca/docs/Web/JavaScript/Referencia/Sentencies/return", "last_edit": "2015-04-26T06:30:31", "summary": "La sent\u00e8ncia return
finalitza l'execuci\u00f3 de la funci\u00f3 i especifica un valor que retornar\u00e0 a la funci\u00f3 que l'ha cridat.", "sections": [{"id": "Quick_Links", "title": "JavaScript Tutorials: JavaScript Guide Introduction Grammar and types Control flow and error handling Loops and iteration Functions Expressions and operators Numbers and dates Text formatting Regular expressions Indexed collections Keyed collections Working with objects Details of the object model Iterators and generators Meta programming Introductory JavaScript basics JavaScript technologies overview Introduction to Object Oriented JavaScript Intermediate A re-introduction to JavaScript JavaScript data structures Equality comparisons and sameness Closures Advanced Inheritance and the prototype chain Strict mode JavaScript typed arrays Memory Management Concurrency model and Event Loop References: Built-in objects Objectes Standard Array [Translate] ArrayBuffer [Translate] Boolean DataView [Translate] Date Error EvalError [Translate] Float32Array [Translate] Float64Array [Translate] Function [Translate] Generator [Translate] GeneratorFunction [Translate] Infinity Int16Array [Translate] Int32Array [Translate] Int8Array [Translate] InternalError [Translate] Intl [Translate] Intl.Collator [Translate] Intl.DateTimeFormat [Translate] Intl.NumberFormat [Translate] Iterator [Translate] JSON Map Math NaN Number Object [Translate] ParallelArray [Translate] Promise [Translate] Proxy [Translate] RangeError [Translate] ReferenceError [Translate] Reflect [Translate] RegExp [Translate] SIMD [Translate] Set [Translate] StopIteration [Translate] String Symbol [Translate] SyntaxError [Translate] TypeError [Translate] TypedArray [Translate] URIError [Translate] Uint16Array [Translate] Uint32Array [Translate] Uint8Array [Translate] Uint8ClampedArray [Translate] WeakMap [Translate] WeakSet [Translate] decodeURI() [Translate] decodeURIComponent() [Translate] encodeURI() [Translate] encodeURIComponent() [Translate] escape() [Translate] eval() [Translate] isFinite() [Translate] isNaN() [Translate] null parseFloat() [Translate] parseInt() [Translate] undefined unescape() [Translate] uneval() [Translate] Expressions & operators Expressions and operators Operadors aritm\u00e8tics Array comprehensions [Translate] Assignment operators Operadors de bits Operador Coma Comparison operators [Translate] Operador Condicional (ternari) Destructuring assignment [Translate] Expression closures [Translate] Generator comprehensions [Translate] Operador d'agrupament Legacy generator function expression [Translate] Operadors L\u00f2gics Object initializer [Translate] Operator precedence [Translate] Property accessors [Translate] Spread operator [Translate] class expression [Translate] Operador delete function expression [Translate] function* expression [Translate] in operator [Translate] instanceof [Translate] new operator [Translate] super this [Translate] typeof L'operador void yield yield* [Translate] Statements & declarations Statements and declarations Legacy generator function [Translate] block break [Translate] class [Translate] const [Translate] continue [Translate] debugger [Translate] do...while [Translate] Buida export [Translate] for for each...in [Translate] for...in [Translate] for...of function function* [Translate] if...else import [Translate] label [Translate] let [Translate] return switch [Translate] throw [Translate] try...catch [Translate] var [Translate] while with [Translate] Functions Functions [Translate] Arguments object [Translate] Arrow functions [Translate] Default parameters [Translate] Method definitions [Translate] Rest parameters [Translate] getter [Translate] setter [Translate] Classes Classes constructor extends [Translate] static Misc Lexical grammar JavaScript data structures Enumerability and ownership of properties Iteration protocols Strict mode Transitioning to strict mode Template strings Deprecated features New in JavaScript New in JavaScript [Translate] ECMAScript 5 support in Mozilla [Translate] ECMAScript 6 support in Mozilla [Translate] ECMAScript 7 support in Mozilla [Translate] Firefox JavaScript changelog [Translate] New in JavaScript 1.1 [Translate] New in JavaScript 1.2 [Translate] New in JavaScript 1.3 [Translate] New in JavaScript 1.4 [Translate] New in JavaScript 1.5 [Translate] New in JavaScript 1.6 [Translate] New in JavaScript 1.7 [Translate] New in JavaScript 1.8 [Translate] New in JavaScript 1.8.1 [Translate] New in JavaScript 1.8.5 [Translate] Documentation: Useful lists All pages index Methods index Properties index Pages tagged \"JavaScript\" Contribute JavaScript doc status The MDN project"}, {"id": "Resum", "title": "Resum"}, {"id": "Syntax", "title": "Sintaxi"}, {"id": "Descripci.C3.B3", "title": "Descripci\u00f3"}, {"id": "Insersi.C3.B3_autom.C3.A0tica_de_punt_i_coma", "title": "Insersi\u00f3 autom\u00e0tica de punt i coma"}, {"id": "Examples", "title": "Exemples"}, {"id": "Example:_Using_return", "title": "Exemple: Fer servir return"}, {"id": "Example:_Interrupt_a_function", "title": "Exemple: Interrompre una funci\u00f3"}, {"id": "Exemple.3A_Returning_a_function", "title": "Exemple: Returning a function"}, {"id": "Especificacions", "title": "Especificacions"}, {"id": "Compatibilitat_amb_navegadors", "title": "Compatibilitat amb navegadors"}, {"id": "See_also", "title": "Vegeu tamb\u00e9"}], "id": 145753, "review_tags": ["editorial"]}