Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

Find Multiples of a Number

function findMultiples(integer, limit) {
   
    let arr = []


    
   for(let i =1; i<=limit ;i++){
      let m = i*integer;
      if(m<=limit){
          arr.push(m)
      }
   }
   return arr 

    
    
  }
Comment

PREVIOUS NEXT
Code Example
Javascript :: angular mat radio group select index 
Javascript :: v- v-bind : 
Javascript :: remove object if key is duplicate javascript 
Javascript :: hooks developed by react native 
Javascript :: usestate hook callback 
Javascript :: javascript execute function after async 
Javascript :: javascript export default 
Javascript :: Usage rate-limiter 
Javascript :: how to create a component in angular using terminal 
Javascript :: javascript scrollby div 
Javascript :: uncaughtException javascript 
Javascript :: how to remove whitespace in javascript 
Javascript :: node express dynamic route and error handler 
Javascript :: console.log printing object object 
Javascript :: check if computer online js 
Javascript :: react router dom default params 
Javascript :: node 14: fsevents@1.2.13: fsevents 1 will break on node 
Javascript :: header react native 
Javascript :: replace javascript 
Javascript :: notification like whatsapp in jquery 
Javascript :: create new record mongoose 
Javascript :: text animation css and js 
Javascript :: npm install say unmet dependencies 
Javascript :: get node by value neo4j 
Javascript :: javascript audio navigator audio stream 
Javascript :: express routers 
Javascript :: react router v6 pass props 
Javascript :: react native select simulator 
Javascript :: html js display pdf file 
Javascript :: remote with post data jquery ajax example 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =