java.js
// Adds file size to the score. Use this instead of directly adding onto the variable
Adds file size to the score. Use this instead of directly adding onto the variable
Adds file size to the score . Use this instead of directly adding onto the variable
function addFileSize(addingVariable) {
	const addedsize = size + addingVariable;
	if (addedsize >= 256000000000000) {size = 256000000000000;}
	else {size = size + addingVariable;}
}
function addFileSize ( addingVariable ) { const addedsize = size + addingVariable ; if ( addedsize >= 256000000000000 ) { size = 256000000000000 ; } else { size = size + addingVariable ; } }
Adds file size to the score.
Adds file size to the score .