[quote]Stax解析技术:快速高效,根据流的形式解析xml,比dom解析技术更加快,dom解析技术是基于文档结构树的,会把整个dom文件树加载到内存进行解析[/quote] package com.nnk.upstream.util;/** * Created with IntelliJ IDEA. * User: y * Date: 2016/5/27 * Time: 17:09 * email: xxydliuy@163.com * To change this template us
parseInt() 先把参数转换成字符串:左边有连续的数字则返回数值,若没有则返回NaN. console.log('parseInt(null)',parseInt(null)); // NaN console.log('parseInt("")',parseInt("")); // NaN console.log('parseInt(true)',parseInt(true)); // NaN console.log('parseInt("123ab