You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line no 49 var convert = fx.convert = function(val, opts) {
I'm trying to understand JS coding styles and I found this in money.js as well as underscore.js (you have mentioned it as inspiration the source code).
What's the reason to have a local variable convert when you could have just used fx.convert in it's place?
The text was updated successfully, but these errors were encountered:
Line no 49
var convert = fx.convert = function(val, opts) {
I'm trying to understand JS coding styles and I found this in
money.js
as well asunderscore.js
(you have mentioned it as inspiration the source code).What's the reason to have a local variable
convert
when you could have just usedfx.convert
in it's place?The text was updated successfully, but these errors were encountered: