Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

square root javascript

console.log(Math.sqrt(4));     // 2
console.log(Math.sqrt(16));    // 4
console.log(Math.sqrt(64));    // 8
console.log(Math.sqrt(100));   // 10
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #square #root #javascript
ADD COMMENT
Topic
Name
3+2 =