---
title: "SyntaxError: 'return' outside function"
author: "zhanyingle_1981"
date: "2012-11-18T13:21:24Z"
tags: []
categories: ["编程语言"]
slug: "syntaxerror-return-outside-function"
draft: false
lastmod: "2012-11-18T13:21:24Z"
id: 1728986
url: "https://leonzhan.iteye.com/blog/1728986"
---

SyntaxError: 'return' outside function

一般是由于缩进不对引起的,比如tab 和空格混合使用.........