',
					function () {
						return this.name;
					}).
					method('setName', function (name) {
						this.name = name;
						return this;
					});

			var a = new Person('Adam');
			console.log(a.getName()); // 'Adam'
			console.log(a.setName('Eve').getName()); // 'Eve'
		</script>
	</body>
</html>