diff --git a/arrayToObject.js b/arrayToObject.js
index <HASH>..<HASH> 100644
--- a/arrayToObject.js
+++ b/arrayToObject.js
@@ -1,5 +1,5 @@
 module.exports = function(arr) {
 	var obj = {}
-	for (var i=0; i<arr.length; i++) { obj[arr[i]] = i }
+	for (var i=0; i<arr.length; i++) { obj[arr[i]] = true }
 	return obj
 }
\ No newline at end of file
arrayToObject needs to be truthy for all objects