---
title: "===作用"
author: "waynelewis"
date: "2011-07-09T16:22:09Z"
tags: ["===", "JS"]
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2011-07-09T16:23:57Z"
id: 1120493
url: "https://waynelewis.iteye.com/blog/1120493"
---

**js中===的作用**


x=5


|=== 	|全等（值和类型） 	|x===5 为 true；x==="5" 为 false|



详情见<http://www.w3school.com.cn/js/js_comparisons.asp>