我们知道,es5中js的数据类型有7种,分别为:基本数据类型5种:Number、String、Boolean、Undefined 、NULL;引用数据类型2种:object、function。es6中又多加了一种基本数据类型,symbol
常见的判断js类型的方法主要有这4种: typeof、instanceof、constructor、toString
more >>
防呆笔记 O(∩_∩)O~~
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia-plus根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true