Giter Club home page Giter Club logo

Comments (3)

AMY-Y avatar AMY-Y commented on July 24, 2024 1
  无返回值的四种语句://其他语句都有返回值
;//只有一个分号的空语句
var a=3;//变量声明
function fn(){};//函数声明
break,continue;//等的控制语句
//eval将字符串形式的表达式转换为表达式形式执行。返回的是  最后执行到的   有返回值的  那条语句
//void运算符 会将表达式忽略,返回一个undefined
eval('1+2;var x=5;;;;;;function fn(){};');//返回1+2的结果   3
eval('1+2;var x=5;;;;;;function fn(){};void 0');//返回 void 0 的结果undefined

from fe-practice-hard.

wingmeng avatar wingmeng commented on July 24, 2024

[黑人问号脸.jpg],真的看不懂啊 😂

from fe-practice-hard.

AMY-Y avatar AMY-Y commented on July 24, 2024

哈哈哈哈哈

from fe-practice-hard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.