[js] Also type check when resetting a Scalar to a default with Nil
[js] Also type check when resetting a Scalar to a default with Nil

labster/rakudo,tony-o/rakudo,salortiz/rakudo,MasterDuke17/rakudo,tony-o/rakudo,nbrown/rakudo,tony-o/rakudo,tbrowder/rakudo,labster/rakudo,MasterDuke17/rakudo,labster/rakudo,Gnouc/rakudo,labster/rakudo,nbrown/rakudo,Gnouc/rakudo,nbrown/rakudo,tbrowder/rakudo,nbrown/rakudo,MasterDuke17/rakudo,softmoth/rakudo,tbrowder/rakudo,labster/rakudo,MasterDuke17/rakudo,tbrowder/rakudo,softmoth/rakudo,tony-o/rakudo,tbrowder/rakudo,salortiz/rakudo,salortiz/rakudo,rakudo/rakudo,rakudo/rakudo,Gnouc/rakudo,Gnouc/rakudo,tony-o/rakudo,MasterDuke17/rakudo,labster/rakudo,salortiz/rakudo,salortiz/rakudo,softmoth/rakudo,rakudo/rakudo,salortiz/rakudo,Gnouc/rakudo,rakudo/rakudo,rakudo/rakudo,nbrown/rakudo,rakudo/rakudo,Gnouc/rakudo,softmoth/rakudo,tony-o/rakudo,nbrown/rakudo,tbrowder/rakudo,MasterDuke17/rakudo,softmoth/rakudo