Adsense
Popular Posts
- Install APXS in Redhat Linux
- MySQL workbench -"Could not decrypt password cache"
- Transfer modules between sites
- JavaScript, remove trailing insignificant zeros after toFixed function
- Set Windows path command line
- datatable order by nunmeric
- MySQL date created and date modified
- super(props) in React
- PHP, dump varailbes in a format way
- React: connect(mapStateToProps, mapDispatchToProps)
Saturday, January 17, 2015
underscore (-) and dollars sign ($) in Javascript variables and functions
underscore (-) and dollars sign ($) in Javascript variables are the same as other characters such as letters and number. For example _$.area is the as as other JS variables course123, c3 etc.
For dollars sign ($) in Javascript function may have special meaning, for example $() in jQuery represnets to call jQuery library. _() in Underscore.js call underscorelibrary.
Labels:
javascript
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment