File: variable_redefine.js

package info (click to toggle)
node-jsdoc2 2.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 708 kB
  • sloc: javascript: 4,319; xml: 279; makefile: 19; sh: 4
file content (14 lines) | stat: -rw-r--r-- 200 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** @constructor */
function Foo() {
	var bar = 1;
	bar = 2; // redefining a private
	
	this.baz = 1;
	baz = 2; // global
	
	/** a private */
	var blap = {
		/** in here */
		tada: 1
	}
}