Tentacle Truncation Case Studies: 3.1 - Unpacking the Fjord

We're in a bit of a pickle. The Fjord has been acting up again. Our team of expert Tentacle Truncators have been called in to investigate.

Next: 3.2 - The Fjord's Secret Life
<code>
// Fjord.js
const fjord = {
	'status': 'active',
	'color': '#0000FF',
	'pattern': 'wavy lines'
};

// Fjord.prototype.updateStatus()
// Update the Fjord's status
const statusUpdate = () => {
	fjord.status = 'inactive';
};

// Fjord.prototype.updateColor()
// Change the Fjord's color
const colorUpdate = () => {
	fjord.color = '#FF0000';
};

// Fjord.prototype.updatePattern()
// Change the Fjord's pattern
const patternUpdate = () => {
	fjord.pattern = 'striped';
};
</code>
		
Continue reading: Fjord's inner workings