 	lang: 'enUS'
 	type: 'number'
 
+userOptions = Object.assign({}, defaultOptions)
+
 setOptions = (options) ->
-	Object.assign(defaultOptions, options)
-	return defaultOptions
+	Object.assign(userOptions, options)
+	return userOptions
 
 ###
 Convert numerical input to a specific language.

Numbo::zhCN = zhCN

Numbo::getDefaultOptions = () -> return defaultOptions
Numbo::setOptions = setOptions

export default Numbo

@return {string} - Final output of numbo.
###
convert = (input, options) ->
	# Clone userOptions, then override it using options
	oneTimeOptions = Object.assign({}, userOptions, options)
	oneTimeOptions.lang = parseLang(oneTimeOptions.lang)
	if oneTimeOptions.lang is false
		return null
