// Recursive function to calculate factorial
function factorial(n)
{
{
// Base case: if n is 0, return 1
if (n === 0)
{
{
return 1;
}
// Recursive call: n * factorial(n - 1)
return n * factorial(n - 1);
}
SCROLL TO EXPLORE
Core Features
Everything you need for seamless pair programming
Real-Time Chat
Communicate instantly with markdown support
Cursor Tracking
See collaborators' cursors in real-time
Live Editing
Code together with syntax highlighting
Video Calls
Integrated HD video conferencing
AI Assistance
Smart code completions powered by AI
Git Integration
Version control without leaving the editor
Plus many more features designed for developer collaboration
Enhance Your Workflow
Work with all your favorite languages and frameworks in real-time collaboration
TypeScript
.tsReact
.tsxJSON
.jsonJavaScript
.jsHTML
.htmlNode.js
.jsCSS
.cssMarkdown
.mdText
.txtJSX
.jsxAnd More
Plus many more languages and frameworks supported through our extensible system