石二_个人页

个人头像照片 石二
0
54
0

个人介绍

暂无个人介绍

擅长的技术

获得更多能力
通用技术能力:

暂时未有相关通用技术能力~

云产品技术能力:

暂时未有相关云产品技术能力~

阿里云技能认证

详细说明
暂无更多信息
正在加载, 请稍后...
暂无更多信息
  • 回答了问题 2019-07-17

    ajax怎么解析一段json

    var json = '{"result":true, "count":42}'; obj = JSON.parse(json);

    -------------------------

    var json = '{"result":true, "count":42}'; obj = JSON.parse(json);

    踩0 评论0
  • 回答了问题 2019-07-17

    怎么提升js能力

    看书视频博客,参照文章手写代码
    踩0 评论0
  • 回答了问题 2019-07-17

    js函数未定义怎么解决

    函数要采用先定义后调用的原则
    踩0 评论0
  • 回答了问题 2019-07-17

    vue.js怎么新建项目

    参考 https://github.com/vuejs/vue-cli
    踩0 评论0
  • 回答了问题 2019-07-17

    js怎么向函数传参数

    function calcRectArea(width, height) { return width * height; } console.log(calcRectArea(5, 6)); // expected output: 30
    踩0 评论0
  • 回答了问题 2019-07-17

    怎么输出一个js对象的类型

    console.log(typeof {}); // expected output: "object"
    踩0 评论0
  • 回答了问题 2019-07-17

    怎么在body标签中写js

    body 标签中嵌套一个script标签,在script 中写javascript代码
    踩0 评论0
  • 回答了问题 2019-07-17

    js怎么用正则表达式

    var regex1 = /\w+/; var regex2 = new RegExp('\\w+'); console.log(regex1); // expected output: /\w+/ console.log(regex2); // expected output: /\w+/ console.log(regex1 === regex2); // expected output: false
    踩0 评论0
  • 回答了问题 2019-07-17

    js中平方怎么表示

    console.log(Math.pow(7, 2)); // expected output: 49
    踩0 评论0
  • 回答了问题 2019-07-17

    js 数组怎么初始化

    var arr = []; Array.of(7); // [7] Array.of(1, 2, 3); // [1, 2, 3]
    踩0 评论0
  • 回答了问题 2019-07-17

    怎么取json里面的值

    var json = '{"result":true, "count":42}'; obj = JSON.parse(json); console.log(obj.count); // expected output: 42 console.log(obj.result); // expected output: true
    踩0 评论0
  • 回答了问题 2019-07-17

    js怎么定义方法有哪些

    function foo(){}; var bar = function (){}; var foo2 = () =>{};
    踩0 评论0
  • 回答了问题 2019-07-17

    .jsx文件怎么安装

    需要使用 babel 转换成es5
    踩0 评论0
  • 回答了问题 2019-07-17

    json数据怎么转成对象

    var json = '{"result":true, "count":42}'; obj = JSON.parse(json); console.log(obj.count); // expected output: 42 console.log(obj.result); // expected output: true
    踩0 评论0
  • 回答了问题 2019-07-17

    js 加号怎么用变量存

    var sum = new Function('a', 'b', 'return a + b'); console.log(sum(2, 6)); // expected output: 8
    踩0 评论0
  • 回答了问题 2019-07-17

    css怎么调行间距

    line-height
    踩0 评论0
  • 回答了问题 2019-07-17

    原生js怎么查找父元素

    使用 node.parentElement ,举例: document.getElementById('app').parentElement
    踩0 评论0
  • 回答了问题 2019-07-17

    js怎么将字符串转为数组

    var myString = 'Hello 1 word. Sentence number 2.'; var splits = myString.split(/(\d)/); console.log(splits); // [ "Hello ", "1", " word. Sentence number ", "2", "." ]
    踩0 评论0
  • 回答了问题 2019-07-17

    怎么理解nodejs是什么

    nodejs 是基于V8 引擎的javascript运行环境。
    踩0 评论0
  • 回答了问题 2019-07-17

    xml怎么转换成json格式

    https://github.com/buglabs/node-xml2json 使用第三方工具转换
    踩0 评论0
正在加载, 请稍后...
滑动查看更多
正在加载, 请稍后...
暂无更多信息