---
title: "javascript funciton"
author: "p2world"
date: "2012-02-14T11:01:31Z"
tags: []
categories: ["Web前端"]
slug: "javascript-funciton"
draft: false
lastmod: "2012-02-14T11:01:43Z"
id: 1405238
url: "https://p2world.iteye.com/blog/1405238"
---

创建一个function的常见方法

```javascript
function func(){
	
}

var func=function(){
	
};

var func=function _func(){
	
};

var func=new Function();

```


其中_func只有该函数内部可见，常用于递归