zoukankan      html  css  js  c++  java
  • java 的 一点记录

    1. put space on the two sides of %, not mandatory,//can be ignored.

    2.But we use === (three equal signs) to check if one variable's value is "equal" or "identical" to another variable's value.
    as == can have some odd behavior in javescript.
    3. backup some command used here
    prompt(.....  prove you to write sth
    confirm("your message here");//to confirm
    alert("your message");// pop up an alert, which do not give users the option to cancel_they can only click OK.

    god, javascript ,at least the basic knowledge is simple, quite similar to C. except using === instead of ==.maybe it is the only difference in syntax. all others are same, parenthesis, semicolon,brackets are the used in the same exact case.
    Besides, there are special commands in javescript, like prompt, alert, confirm, which is quite understandable, as it is for the appication of web developping.

  • 相关阅读:
    一道比较有趣的题
    笑话两则
    时钟
    组策略 简单介绍
    网页乱码问题ASP.NET
    同性恋的公鸡
    SQL中CASE函数_可解决编程中空表检索的一些问题
    百万网?
    黑客 故事
    word有趣问题集锦
  • 原文地址:https://www.cnblogs.com/aprilapril/p/2330806.html
Copyright © 2011-2022 走看看